mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 15:27:17 +00:00
Upgrade resin-image-write to v4.0.0 (#368)
Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
parent
ccae6bf783
commit
3af8d4d4a2
@ -93,7 +93,8 @@ exports.writeImage = function(image, drive, options, onProgress) {
|
||||
return exports.getImageStream(image);
|
||||
}).then(function(stream) {
|
||||
return imageWrite.write(drive.device, stream, {
|
||||
check: options.validateWriteOnSuccess
|
||||
check: options.validateWriteOnSuccess,
|
||||
size: stream.length
|
||||
});
|
||||
}).then(function(writer) {
|
||||
return new Bluebird(function(resolve, reject) {
|
||||
|
@ -61,7 +61,7 @@
|
||||
"lodash": "^4.5.1",
|
||||
"ngstorage": "^0.3.10",
|
||||
"open": "0.0.5",
|
||||
"resin-image-write": "^3.0.4",
|
||||
"resin-image-write": "^4.0.0",
|
||||
"resin-cli-errors": "^1.2.0",
|
||||
"resin-cli-form": "^1.4.1",
|
||||
"resin-cli-visuals": "^1.2.8",
|
||||
|
Loading…
x
Reference in New Issue
Block a user