mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-19 05:37:51 +00:00
Fix resin preload --splash-image argument handling
Connects-To: #677 Change-Type: patch
This commit is contained in:
parent
c187c113d9
commit
10976bed43
@ -174,6 +174,8 @@ module.exports = {
|
||||
delete options.app;
|
||||
options.dontDetectFlasherTypeImages = options['dont-detect-flasher-type-images'];
|
||||
delete options['dont-detect-flasher-type-images'];
|
||||
options.splashImage = options['splash-image'];
|
||||
delete options['splash-image'];
|
||||
return dockerUtils.getDocker(options).then(function(docker) {
|
||||
var buildOutputStream;
|
||||
buildOutputStream = preload.build(docker);
|
||||
|
@ -168,6 +168,9 @@ module.exports =
|
||||
options.dontDetectFlasherTypeImages = options['dont-detect-flasher-type-images']
|
||||
delete options['dont-detect-flasher-type-images']
|
||||
|
||||
options.splashImage = options['splash-image']
|
||||
delete options['splash-image']
|
||||
|
||||
# Get a configured dockerode instance
|
||||
dockerUtils.getDocker(options)
|
||||
.then (docker) ->
|
||||
|
Loading…
Reference in New Issue
Block a user