File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -176209,7 +176209,7 @@ function bundleNPMArtifacts() {
176209
176209
const mainPackageJsonPath = external_fs_.existsSync(possibleEsyJsonPath)
176210
176210
? possibleEsyJsonPath
176211
176211
: possiblePackageJsonPath;
176212
- const exists = external_fs_.existsSync(external_path_.join(workingDirectory, mainPackageJsonPath));
176212
+ const exists = external_fs_.existsSync(external_path_.join(mainPackageJsonPath));
176213
176213
if (!exists) {
176214
176214
console.error("No package.json or esy.json at " + mainPackageJsonPath);
176215
176215
process.exit(1);
Original file line number Diff line number Diff line change @@ -181,9 +181,7 @@ async function bundleNPMArtifacts() {
181
181
const mainPackageJsonPath = fs . existsSync ( possibleEsyJsonPath )
182
182
? possibleEsyJsonPath
183
183
: possiblePackageJsonPath ;
184
- const exists = fs . existsSync (
185
- path . join ( workingDirectory , mainPackageJsonPath )
186
- ) ;
184
+ const exists = fs . existsSync ( path . join ( mainPackageJsonPath ) ) ;
187
185
if ( ! exists ) {
188
186
console . error ( "No package.json or esy.json at " + mainPackageJsonPath ) ;
189
187
process . exit ( 1 ) ;
You can’t perform that action at this time.
0 commit comments