Skip to content

Commit

Permalink
🐛 Wait for presentation to merge
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewelsby committed Mar 3, 2020
1 parent a5e79f6 commit bf2ee16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/presentation-merger.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const path = require('path');
const packageJson = require('../package.json');
const debug = require('debug')('presentation-merger')

const mergeFiles = require('../dist/index.js').default;
const mergeFiles = require('../lib/index.js').default;
debug(`Dependencies loaded ${process.hrtime(bootStart)[1] / 1000000}ms`);
let programStart = process.hrtime();

Expand Down Expand Up @@ -35,7 +35,7 @@ program
}
if (allExist) {
let hrstart = process.hrtime();
mergeFiles(destination, files);
await mergeFiles(destination, files);
debug(`Merged files in ${process.hrtime(hrstart)[1] / 1000000}ms`);
debug(`Program total time ${process.hrtime(bootStart)[1] / 1000000}ms`);
process.exit(0);
Expand Down

0 comments on commit bf2ee16

Please sign in to comment.