Fix frontend vite config#5680
Open
toviszsolt wants to merge 6 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the frontend Vite dev-server startup hook that runs locale-related Yarn scripts, aiming to improve cross-platform (especially Windows) behavior when invoking yarn via Node’s execFile.
Changes:
- Run
yarn locale-compileandyarn locale-sortusingexecFilewith shell execution enabled. - Normalize plugin name quoting to match the file’s double-quote style.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
`{ shell: true }` is broader than needed and increases shell injection/quoting risk. Prefer making shell conditional (or using yarn.cmd on Windows) so non-Windows platforms keep the safer direct-exec behavior.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
`{ shell: true }` is broader than needed and increases shell injection/quoting risk. Prefer making shell conditional (or using yarn.cmd on Windows) so non-Windows platforms keep the safer direct-exec behavior.
toviszsolt
commented
Jun 26, 2026
|
Docker Image for build 2 is available on DockerHub: Note Ensure you backup your NPM instance before testing this image! Especially if there are database changes. Warning Changes and additions to DNS Providers require verification by at least 2 members of the community! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Use
{ shell: true }forexecFilebecauseyarnis often a shell script or a batch file (especially on Windows), andexecFilerequires a direct executable path unless a shell is provided to interpret the command.Type of Change
AI Usage