Skip to content

Commit 55a5504

Browse files
committed
Actually fail CI when tests fail
1 parent ef74ec3 commit 55a5504

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/run-test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,7 @@ const execOpts = { cwd: inputDir, stderr: 'inherit' };
5757

5858
console.log('codemod ran successfully! 🎉');
5959
process.exit(0);
60-
})();
60+
})().catch((e) => {
61+
console.error(e);
62+
process.exit(1);
63+
});

0 commit comments

Comments
 (0)