Skip to content

Override existing asar symlink in postinstall #3369

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

Merged
merged 1 commit into from
May 12, 2021

Conversation

code-asher
Copy link
Member

This ensures the link is correct. Should fix #3355.

This ensures the link is correct. Should fix coder#3355.
@code-asher code-asher requested a review from a team as a code owner May 12, 2021 18:05
@codecov
Copy link

codecov bot commented May 12, 2021

Codecov Report

Merging #3369 (2fe6b5f) into main (825a40e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3369   +/-   ##
=======================================
  Coverage   58.95%   58.95%           
=======================================
  Files          35       35           
  Lines        1703     1703           
  Branches      374      374           
=======================================
  Hits         1004     1004           
  Misses        561      561           
  Partials      138      138           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 825a40e...2fe6b5f. Read the comment docs.

@@ -56,18 +56,21 @@ main() {
fi
}

# This is a copy of symlink_asar in ../lib.sh. Look there for details.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we import that lib and share code instead of duplicating it? we have a general problem (especially in our other projects) that we have unnecessary copies of things, and that often results in inconsistencies between those files over time

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that makes a lot of sense, in fact they were already out of sync with this version using -e and the other using -L. I opened #3371

Copy link
Contributor

@jsjoeio jsjoeio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick fix! Nice work 👏

@Bickerchick739
Copy link

So what's up with all of this

@Bickerchick739
Copy link

Sorry what's up Codcov

@code-asher code-asher merged commit e64fd45 into coder:main May 12, 2021
@code-asher code-asher deleted the symlink-asar branch May 12, 2021 21:46
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.

Wrong symlink for node_modules.asar
4 participants