| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Looks good to me, haven't tried to run it
Sorry, something went wrong.
There was a problem hiding this comment.
Code wise looks good. I would move it into a separate a function so we can test it
Sorry, something went wrong.
| const error = new WebpackOptionsValidationError(webpackConfigurationValidationErrors); | ||
| console.error(error.message, `\nReceived: ${typeof options} : ${JSON.stringify(options, null, 2)}`); | ||
| process.exit(-1); // eslint-disable-line | ||
| let error; |
There was a problem hiding this comment.
Could you make a function out of it and export it? So we can test it and make sure 100% that it works.
Sorry, something went wrong.
There was a problem hiding this comment.
yup will do
Sorry, something went wrong.
|
Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon. |
Sorry, something went wrong.
There was a problem hiding this comment.
We should add the test now
Sorry, something went wrong.
|
@evenstensberg Thanks for your update. I labeled the Pull Request so reviewers will review it again. @ematipico Please review the new changes. |
Sorry, something went wrong.
|
Thanks for reviewing @ematipico . Singing this of and releasing 💙 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
What kind of change does this PR introduce?
#1023
Did you add tests for your changes?
Yes
If relevant, did you update the documentation?
N/A
Summary
Tries to resolve validation for both versions.
Does this PR introduce a breaking change?
no
Other information
@sokra could you verify? Tested locally, removed the if/else but you might be aware of anymore pitfalls.