Skip to content

Commit ac0d516

Browse files
committed
Properly exit destroyPartition
1 parent 486e8be commit ac0d516

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/bin/destroyPartition.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ async function main(partitionName: string): Promise<void> {
5656
datelog(`Successfully Deleted: progress cache ${progress._id}`)
5757
} catch (e) {
5858
datelog(e)
59+
process.exit(1)
5960
}
61+
process.exit(0)
6062
}
6163

6264
main(process.argv[2]).catch(e => datelog(e))

0 commit comments

Comments
 (0)