Skip to content

Commit 62219a6

Browse files
author
Theodore Li
committed
Fix lint
1 parent 89ef974 commit 62219a6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/db/scripts/migrate-block-api-keys-to-byok.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ if (!DRY_RUN && !FROM_FILE) {
9191
process.exit(1)
9292
}
9393
if (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')

0 commit comments

Comments
 (0)