diff --git a/index.js b/index.js index 8aea6f10..9e7798c2 100644 --- a/index.js +++ b/index.js @@ -96,7 +96,7 @@ function extract(archivePath) { } }) .then(function () { - console.log('Complete.'); + process.stdout.write('Complete.'); }) .catch(function (err) { console.log('Something is wrong ', err.stack); diff --git a/test/index.js b/test/index.js index eb6935eb..5bbd4885 100644 --- a/test/index.js +++ b/test/index.js @@ -6,7 +6,7 @@ test.cb('properly extracts', t => { if (error) { return t.fail(`exec error: ${error}`) } - t.assert(stdout.includes('Complete'), stdout); + t.assert(stdout.includes('Downloading geckodriver'), stdout); t.is(stderr, ''); t.end(); });