Skip to content

Commit 0c33aca

Browse files
committed
#8 fix removing config file after running migrations
1 parent 47bfee1 commit 0c33aca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

migrations.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ async function main() {
4949
});
5050
} catch (e) {
5151
throw e;
52+
} finally {
53+
fs.rmSync(configFile);
5254
}
53-
54-
fs.rmSync(configFile);
5555
}
5656
main();

0 commit comments

Comments
 (0)