File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,9 @@ if (!DRY_RUN && !FROM_FILE) {
9191 process . exit ( 1 )
9292}
9393if ( DRY_RUN && FROM_FILE ) {
94- console . error ( '--from-file cannot be used with --dry-run. Dry runs always discover workspaces from the database.' )
94+ console . error (
95+ '--from-file cannot be used with --dry-run. Dry runs always discover workspaces from the database.'
96+ )
9597 process . exit ( 1 )
9698}
9799
@@ -363,7 +365,7 @@ async function run() {
363365 console . log ( `Found ${ workspaceIds . length } workspaces with candidate blocks\n` )
364366
365367 const outPath = resolve ( 'migrate-byok-workspace-ids.txt' )
366- writeFileSync ( outPath , workspaceIds . join ( '\n' ) + '\n' )
368+ writeFileSync ( outPath , ` ${ workspaceIds . join ( '\n' ) } \n` )
367369 console . log ( `[DRY RUN] Wrote ${ workspaceIds . length } workspace IDs to ${ outPath } \n` )
368370 } else {
369371 const raw = readFileSync ( resolve ( FROM_FILE ! ) , 'utf-8' )
You can’t perform that action at this time.
0 commit comments