diff --git a/src/common.js b/src/common.js index 1f6111ff..0bf17349 100644 --- a/src/common.js +++ b/src/common.js @@ -21,7 +21,7 @@ function generateFinalPath (opts) { function info (message, quiet) { if (!quiet) { - console.error(message) + console.info(message) } } diff --git a/test/basic.js b/test/basic.js index 98934a2a..ac6042ab 100644 --- a/test/basic.js +++ b/test/basic.js @@ -28,7 +28,7 @@ test('setting the quiet option does not print messages', t => { common.warning('warning', true) t.true(console.warn.notCalled, 'quieted common.warning should not call console.warn') common.info('info', true) - t.true(console.error.notCalled, 'quieted common.info should not call console.error') + t.true(console.error.notCalled, 'quieted common.info should not call console.info') }) test('download argument: download.{arch,platform,version,artifactName} does not overwrite {arch,platform,version,artifactName}', t => {