mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-18 10:46:34 +00:00
Use console.info in os download
`console.info` calls can be quieted by the `--quiet` option.
This commit is contained in:
parent
4072edcced
commit
6377618c12
@ -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);
|
||||
}
|
||||
};
|
||||
|
@ -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) ->
|
||||
|
Loading…
Reference in New Issue
Block a user