Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cannot find module(archiver-utils) #143

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

beyondkmp
Copy link
Contributor

@beyondkmp beyondkmp commented Oct 15, 2024

fix electron-userland/electron-builder#8503

Using strings.HasPrefix for direct comparison is problematic. For example, with "archiver" and "archiver-utils", their paths are "node_modules/archiver" and "node_modules/archiver-utils" respectively. They are not in a parent-child path relationship. This incorrect assessment resulted in archiver-utils not being placed at the top.

Copy link

changeset-bot bot commented Oct 15, 2024

🦋 Changeset detected

Latest commit: e3fea1a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
app-builder-bin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@beyondkmp beyondkmp changed the title fix: delete strings.HasPrefix fix: cannot find module(archiver-utils) Oct 15, 2024
@mmaietta mmaietta merged commit 0d13c80 into develar:master Oct 15, 2024
3 checks passed
@beyondkmp beyondkmp deleted the archiver-utils branch October 16, 2024 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Error: Cannot find module 'jsonfile/utils'" in linux appimage build
2 participants