-
Notifications
You must be signed in to change notification settings - Fork 103
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: metadataConverter writes zip to dir and works outside of project #1252
Conversation
Thanks for the contribution! Before we can merge this, we need @aaron-csetter to sign the Salesforce Inc. Contributor License Agreement. |
I did but got an error 😅 |
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.
Looks pretty good. Thanks for the contribution. With some small changes and tests it should be all set for the rest of CI tests to run.
Thanks for the contribution @aaron-csetter Look for some kudos in our release notes for an upcoming release! |
Hello 👋 I'm an engineer from nCino. I tried adopting this tool, but it seemed to have some bugs. I went ahead and fixed them 😄 . I'll check back regularly in case something is astray. Awesome tool btw; looking forward to using it!
What does this PR do?
zip
requires ansfdx-project.json
file at directory root.outputDirectory
is specified inZipConfig
.What issues does this PR fix or reference?
None because I was unable to open an issue on this repo lol.
Functionality Before
When executing the following code:
This error would occur when not within an SF project with an
sfdx-project.json
:Also, even when executed in a valid project, specifying an
outputDirectory
would not actually write thezip
to file.Functionality After
Both of these problems are solved. The tool can be executed outside of a SF project and the zip is written to file when
outputDirectory
is specified.