diff --git a/lib/actions/os.coffee b/lib/actions/os.coffee index ba468f60..c1e4bf63 100644 --- a/lib/actions/os.coffee +++ b/lib/actions/os.coffee @@ -67,7 +67,7 @@ exports.download = bar = new visuals.widgets.Progress('Downloading Device OS') resin.models.os.download osParams, options.output, callback, (state) -> - console.log(bar.tick(state)) + bar.update(state) ], (error) -> return done(error) if error? @@ -133,7 +133,7 @@ exports.install = bar = new visuals.widgets.Progress('Writing Device OS') progress.on 'progress', (status) -> - console.log(bar.tick(status)) + bar.update(status) imageFileStream = fs.createReadStream(params.image).pipe(progress) diff --git a/package.json b/package.json index 87365c25..9d71ac7e 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "nplugm": "^1.0.1", "open": "0.0.5", "progress-stream": "^0.5.0", - "resin-cli-visuals": "git+https://git@github.com/resin-io/resin-cli-visuals.git", + "resin-cli-visuals": "git+https://git@github.com/resin-io/resin-cli-visuals.git#feature/in-place-progress-bar", "resin-sdk": "git+https://git@github.com/resin-io/resin-sdk.git", "underscore.string": "~2.4.0" }