Skip to content

Commit 9210cb9

Browse files
author
stephanbuettig
committed
fix: strip null bytes from copied files, add missing package-lock.json
Several source files contained trailing NULL bytes introduced by the cross-filesystem copy (Windows CIFS mount → Linux). This caused export-filenames.ts and others to be detected as binary, breaking the build. Affected files cleaned: export-filenames.ts, zip-export-formats.ts, export.ts, http-export-card.tsx, zip-export.spec.ts, ui-store.ts. Also adds the missing package-lock.json update for the fflate dependency added in package.json.
1 parent 963a2e6 commit 9210cb9

7 files changed

Lines changed: 21 additions & 10 deletions

File tree

package-lock.json

Lines changed: 21 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/view/http/http-export-card.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,4 +241,3 @@ export class HttpExportCard extends React.Component<ExportCardProps> {
241241
this.props.uiStore!.exportSnippetFormat = optionKey;
242242
}
243243
};
244-

src/model/ui/export.ts

-83 Bytes
Binary file not shown.

src/model/ui/ui-store.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,4 +598,3 @@ export class UiStore {
598598
}
599599

600600
}
601-

src/model/ui/zip-export-formats.ts

100755100644
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,4 +197,3 @@ export function sanitizeFormatIds(ids: Iterable<string>): string[] {
197197
}
198198
return out;
199199
}
200-

src/util/export-filenames.ts

-243 Bytes
Binary file not shown.

test/unit/workers/zip-export.spec.ts

100755100644
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,4 +338,3 @@ describe('ZIP export worker round-trip', function () {
338338
expect(res.snippetErrorCount).to.equal(0);
339339
});
340340
});
341-

0 commit comments

Comments
 (0)