Skip to content

Commit 24cc98d

Browse files
committed
fixup: build
1 parent 4160c07 commit 24cc98d

File tree

4 files changed

+29
-28
lines changed

4 files changed

+29
-28
lines changed

dist/main.js

+11-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.js.map

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+14-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/read-manifest.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ const readPackageJson = async (...pathSegments: string[]): Promise<string> => {
6060

6161
const readTarballPackageJson = async (file: string): Promise<string> => {
6262
const data: Buffer[] = [];
63-
const onentry = (entry: ReadEntry) => {
63+
const onReadEntry = (entry: ReadEntry) => {
6464
if (entry.path === "package/package.json") {
6565
entry.on("data", (chunk) => data.push(chunk));
6666
}
6767
};
6868

6969
try {
70-
await tarList({ file, onentry });
70+
await tarList({ file, onReadEntry });
7171

7272
if (data.length === 0) {
7373
throw new Error("package.json not found inside archive");

0 commit comments

Comments
 (0)