Skip to content

Commit

Permalink
is buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeigs committed Jan 29, 2024
1 parent 0ea635e commit e567e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init/DocumentDatabase.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class ManifestDocumentDatabase {
if (!this.zip) {
const asset = fs.readFileSync(`assets/${checksum}`);
console.log('ASSET? ', asset);
return Buffer(JSON.parse(asset));
return asset;
}
const result = this.zip.getEntry(`assets/${checksum}`);
if (result) {
Expand Down

0 comments on commit e567e22

Please sign in to comment.