Skip to content

Commit 9b6df89

Browse files
committed
wip
1 parent e5cc6b9 commit 9b6df89

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

dist/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -176209,7 +176209,7 @@ function bundleNPMArtifacts() {
176209176209
const mainPackageJsonPath = external_fs_.existsSync(possibleEsyJsonPath)
176210176210
? possibleEsyJsonPath
176211176211
: possiblePackageJsonPath;
176212-
const exists = external_fs_.existsSync(external_path_.join(workingDirectory, mainPackageJsonPath));
176212+
const exists = external_fs_.existsSync(external_path_.join(mainPackageJsonPath));
176213176213
if (!exists) {
176214176214
console.error("No package.json or esy.json at " + mainPackageJsonPath);
176215176215
process.exit(1);

index.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,7 @@ async function bundleNPMArtifacts() {
181181
const mainPackageJsonPath = fs.existsSync(possibleEsyJsonPath)
182182
? possibleEsyJsonPath
183183
: possiblePackageJsonPath;
184-
const exists = fs.existsSync(
185-
path.join(workingDirectory, mainPackageJsonPath)
186-
);
184+
const exists = fs.existsSync(path.join(mainPackageJsonPath));
187185
if (!exists) {
188186
console.error("No package.json or esy.json at " + mainPackageJsonPath);
189187
process.exit(1);

0 commit comments

Comments
 (0)