Be explicit about how much initial history log tailing includes

Change-Type: patch
This commit is contained in:
Tim Perry 2018-07-20 16:32:31 +02:00
parent 171632f83f
commit 430d4aeaa7
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ module.exports =
console.log("#{timestamp} #{line.message}")
if options.tail
resin.logs.subscribe(params.uuid).then (logs) ->
resin.logs.subscribe(params.uuid, { count: 100 }).then (logs) ->
logs.on('line', printLine)
logs.on('error', done)
.catch(done)

View File

@ -149,7 +149,7 @@
"resin-multibuild": "^0.5.1",
"resin-preload": "^6.3.0",
"resin-release": "^1.2.0",
"resin-sdk": "10.0.0-beta1",
"resin-sdk": "10.0.0-beta2",
"resin-sdk-preconfigured": "^6.9.0",
"resin-semver": "^1.2.2",
"resin-settings-client": "^3.6.1",