File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -201,9 +201,9 @@ async function main() {
201
201
log (
202
202
`\n\t${ chalk . gray ( '=' ) . repeat ( 60 ) } \n\t\t${ chalk . magentaBright ( '@warp-drive/' ) } ${ chalk . greenBright ( 'internal-tooling' ) } Sync TypeScript References\n\t${ chalk . gray ( '=' ) . repeat ( 60 ) } \n\n\t\t${ chalk . gray ( `Syncing Project References` ) } \n\n`
203
203
) ;
204
- let anyEdited = false ;
204
+ let anyFileEdited = false ;
205
205
206
- walkPackages ( async ( project : ProjectPackage , projects : Map < string , ProjectPackage > ) => {
206
+ await walkPackages ( async ( project : ProjectPackage , projects : Map < string , ProjectPackage > ) => {
207
207
log ( `\t📦 Syncing ${ project . pkg . name } ` ) ;
208
208
let pkgEdited = false ;
209
209
let tsconfigEdited = false ;
@@ -281,12 +281,12 @@ async function main() {
281
281
}
282
282
283
283
if ( pkgEdited || tsconfigEdited ) {
284
- anyEdited = true ;
284
+ anyFileEdited = true ;
285
285
await project . save ( { pkgEdited, configEdited : tsconfigEdited } ) ;
286
286
}
287
287
} ) ;
288
288
289
- if ( anyEdited ) await runPrettier ( ) ;
289
+ if ( anyFileEdited ) await runPrettier ( ) ;
290
290
}
291
291
292
292
main ( ) ;
You can’t perform that action at this time.
0 commit comments