diff --git a/lib/install.js b/lib/install.js index 781e2b8..c8908f3 100644 --- a/lib/install.js +++ b/lib/install.js @@ -1,17 +1,16 @@ 'use strict'; const path = require('path'); const binBuild = require('bin-build'); -const log = require('logalot'); const bin = require('.'); (async () => { try { await bin.run(['--version']); - log.success('optipng pre-build test passed successfully'); + console.log('optipng pre-build test passed successfully'); } catch (error) { - log.warn(error.message); - log.warn('optipng pre-build test failed'); - log.info('compiling from source'); + console.warn(error.message); + console.warn('optipng pre-build test failed'); + console.info('compiling from source'); try { // From https://sourceforge.net/projects/optipng/files/OptiPNG/ @@ -20,9 +19,9 @@ const bin = require('.'); 'make install' ]); - log.success('optipng built successfully'); + console.log('optipng built successfully'); } catch (error) { - log.error(error.stack); + console.error(error.stack); // eslint-disable-next-line unicorn/no-process-exit process.exit(1); diff --git a/package.json b/package.json index bb21573..69b4cc6 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,7 @@ ], "dependencies": { "bin-build": "^3.0.0", - "bin-wrapper": "^4.0.0", - "logalot": "^2.0.0" + "bin-wrapper": "^4.0.0" }, "devDependencies": { "ava": "^3.15.0",