From bf2ee1659f8fe2636e5e85a4dc86c5ee265301f3 Mon Sep 17 00:00:00 2001 From: Kyle Welsby Date: Tue, 3 Mar 2020 17:18:39 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Wait=20for=20presentation=20to?= =?UTF-8?q?=20merge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/presentation-merger.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/presentation-merger.js b/bin/presentation-merger.js index e2cf0ba..8381af5 100755 --- a/bin/presentation-merger.js +++ b/bin/presentation-merger.js @@ -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(); @@ -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);