Skip to content

Commit

Permalink
fix(vhd-lib): read stream with skipped content
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeauchamp committed Mar 30, 2023
1 parent 0d4d61e commit e9b21c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vhd-lib/parseVhdStream.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class StreamParser {
if (this._bytesRead < offset) {
// empty spaces
await skipStrict(this._stream, offset - this._bytesRead)
this._bytesRead += offset - this._bytesRead
}

try {
Expand Down

0 comments on commit e9b21c6

Please sign in to comment.