Skip to content

Commit

Permalink
fix(cli): make mud test exit with code 1 on test error
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Aug 30, 2023
1 parent d8f0ee3 commit 7965959
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cli/src/commands/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ const commandModule: CommandModule<Options, Options> = {
console.log(testResult);
} catch (e) {
console.error(e);
rmSync(WORLD_ADDRESS_FILE);
process.exit(1);
}

rmSync(WORLD_ADDRESS_FILE);

process.exit(0);
},
};
Expand Down

0 comments on commit 7965959

Please sign in to comment.