File tree Expand file tree Collapse file tree
tools/nevermore-template-helpers/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { OutputHelper } from '@quenty/cli-output-helpers' ;
21import { execa } from 'execa' ;
32import * as fs from 'fs/promises' ;
43import * as os from 'os' ;
54import * as path from 'path' ;
5+ import { OutputHelper } from '@quenty/cli-output-helpers' ;
66
77export interface RojoBuildOptions {
88 /** Absolute path to the rojo project JSON file */
@@ -138,9 +138,8 @@ export class BuildContext {
138138 }
139139 }
140140
141- OutputHelper . verbose ( `Cleaning up build directory: ${ this . _targetdir } ` ) ;
142-
143141 try {
142+ OutputHelper . verbose ( `[Build] Cleaning up build directory: ${ this . _targetdir } ` ) ;
144143 await fs . rm ( this . _targetdir , { recursive : true , force : true } ) ;
145144 } catch {
146145 // best effort
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ export class TemplateHelper {
8282 } else {
8383 if ( ! ( await existsAsync ( newFilePath ) ) ) {
8484 await fs . promises . writeFile ( newFilePath , result , 'utf8' ) ;
85- OutputHelper . verbose ( `Created '${ newFilePath } '` ) ;
85+ OutputHelper . verbose ( `[Template] Created '${ newFilePath } '` ) ;
8686 } else {
8787 OutputHelper . error (
8888 `File already exists ${ newFilePath } will not overwrite`
You can’t perform that action at this time.
0 commit comments