Upgrade resin-image-write to v4.0.0 (#368)

Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
Juan Cruz Viotti 2016-04-26 13:33:39 -04:00
parent ccae6bf783
commit 3af8d4d4a2
2 changed files with 3 additions and 2 deletions

View File

@ -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) {

View File

@ -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",