Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
perrin4869 committed Jul 12, 2022
1 parent 530d4be commit afde42f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { argv } from 'node:process';
import { run } from './lib/postgrator-cli.js'; // eslint-disable-line import/extensions

run(argv).catch((e) => {
await run(argv).catch((e) => {
console.log(`Error: ${e.message}`);
return Promise.reject(e);
});
2 changes: 1 addition & 1 deletion test/postgrator-cli-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ buildTestsForOptions(options);

// Run the tests
console.log(`Running ${tests.length} tests`);
eachSeries(tests, (testFunc) => {
await eachSeries(tests, (testFunc) => {
console.log = originalConsoleLog;
log = '';
return testFunc();
Expand Down

0 comments on commit afde42f

Please sign in to comment.