From 6377618c123d598880f72a5ee591fe2f36af5718 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Tue, 29 Sep 2015 15:15:39 -0400 Subject: [PATCH] Use console.info in os download `console.info` calls can be quieted by the `--quiet` option. --- build/actions/os.js | 2 +- lib/actions/os.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/actions/os.js b/build/actions/os.js index d5a01803..7ac2aae4 100644 --- a/build/actions/os.js +++ b/build/actions/os.js @@ -56,7 +56,7 @@ output = fs.createWriteStream(options.output); return helpers.waitStream(stream.pipe(output))["return"](options.output); }).tap(function(output) { - return console.log("The image was downloaded to " + output); + return console.info("The image was downloaded to " + output); }).nodeify(done); } }; diff --git a/lib/actions/os.coffee b/lib/actions/os.coffee index aa508380..585d053e 100644 --- a/lib/actions/os.coffee +++ b/lib/actions/os.coffee @@ -48,7 +48,7 @@ exports.download = return helpers.waitStream(stream.pipe(output)).return(options.output) .tap (output) -> - console.log("The image was downloaded to #{output}") + console.info("The image was downloaded to #{output}") .nodeify(done) stepHandler = (step) ->