-
Notifications
You must be signed in to change notification settings - Fork 559
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 parsing of secrets containing '=' character #201
Fix parsing of secrets containing '=' character #201
Conversation
Signed-off-by: Mathieu Bergeron <mathieu.bergeron@nuecho.com>
Codecov Report
@@ Coverage Diff @@
## master #201 +/- ##
==========================================
+ Coverage 73.52% 73.91% +0.38%
==========================================
Files 4 4
Lines 136 138 +2
Branches 24 24
==========================================
+ Hits 100 102 +2
Misses 21 21
Partials 15 15
Continue to review full report at Codecov.
|
3738a55
to
fc7e9a2
Compare
Signed-off-by: Mathieu Bergeron <mathieu.bergeron@nuecho.com>
LGTM thanks.
What version of Node/Yarn do you use? |
Thanks! |
That might be the issue, the GitHub Runner and this action uses Node 12. Can you do a Are you on MacOS btw? |
No, I'm on Ubuntu
Thanks for the pointer, I installed v12. I also updated yarn to 1.22.5. @crazy-max I ran
|
Signed-off-by: Mathieu Bergeron <mathieu.bergeron@nuecho.com>
2fe061c
to
8616d52
Compare
Maybe linked to vercel/ncc#485. Can you checkout the master branch and run a |
That's what I did in my previous response :-) And the generated |
@mathieubergeron Ok I was on WSL2 and on a fresh Ubuntu I've got the same result as you so it LGTM :) I will create another PR for reproducibility and keep you in touch here. |
Great! Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mathieubergeron Can you merge changes from master?
…containing-equal-character # Conflicts: # __tests__/buildx.test.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks!
Fixed the parsing of secrets, which were not working when the secret contains
=
character. I also added a test forbuildx.getSecret(..)
.Looking at other PRs, it seems that my
dist/index.js
file contains way more changes than it should. Am I doing something wrong? I followed theCONTRIBUTING.md
procedure.Should I create an Issue for that PR?