Skip to content

Commit

Permalink
fix writing out file metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Aug 20, 2017
1 parent c5b33d8 commit 24a47be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DRS.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ DRS.prototype.archive = function () {
buffer.writeInt32LE(fileOffset, offset)
offset += 4
buffer.writeInt32LE(file.size, offset)
offset += 4
fileOffset += file.size
}
return fromBuffer(buffer)
Expand Down

0 comments on commit 24a47be

Please sign in to comment.