Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ManasJayanth committed May 31, 2024
1 parent e5cc6b9 commit 9b6df89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -176209,7 +176209,7 @@ function bundleNPMArtifacts() {
const mainPackageJsonPath = external_fs_.existsSync(possibleEsyJsonPath)
? possibleEsyJsonPath
: possiblePackageJsonPath;
const exists = external_fs_.existsSync(external_path_.join(workingDirectory, mainPackageJsonPath));
const exists = external_fs_.existsSync(external_path_.join(mainPackageJsonPath));
if (!exists) {
console.error("No package.json or esy.json at " + mainPackageJsonPath);
process.exit(1);
Expand Down
4 changes: 1 addition & 3 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,7 @@ async function bundleNPMArtifacts() {
const mainPackageJsonPath = fs.existsSync(possibleEsyJsonPath)
? possibleEsyJsonPath
: possiblePackageJsonPath;
const exists = fs.existsSync(
path.join(workingDirectory, mainPackageJsonPath)
);
const exists = fs.existsSync(path.join(mainPackageJsonPath));
if (!exists) {
console.error("No package.json or esy.json at " + mainPackageJsonPath);
process.exit(1);
Expand Down

0 comments on commit 9b6df89

Please sign in to comment.