Skip to content

Commit

Permalink
Update vmdk-generate.js
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-f authored Jan 30, 2023
1 parent 00aa593 commit 4cfb6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xo-vmdk-to-vhd/src/vmdk-generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ ddb.geometry.cylinders = "${geometry.cylinders}"
let remaining = targetSize - streamPosition - endMetadataLength

if (remaining < 0) {
throw new Error(`vmdk is bigger than precalculed size`)
throw new Error('vmdk is bigger than precalculed size')
}
const size = 1024 * 1024
const fullBuffer = Buffer.alloc(size, 0)
Expand Down

0 comments on commit 4cfb6d8

Please sign in to comment.