Skip to content

Commit e9379e9

Browse files
committed
chore: if we are running migrations only and not dev exit
1 parent 088b821 commit e9379e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async function bootstrap() {
4747
console.warn("hasura is not able to be setup, exiting", error);
4848
process.exit(1);
4949
}
50-
if (!process.env.DEV) {
50+
if (process.env.RUN_MIGRATIONS) {
5151
process.exit(0);
5252
}
5353
}

0 commit comments

Comments
 (0)