-
Notifications
You must be signed in to change notification settings - Fork 69
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
yarn xliffmerge argument parser broken #144
Comments
I have the same issue running xliffmerge on windows / npm |
Sorry for this very late response. |
I have used patch-package tool with change suggested by @pinetree62 as a workaround. |
This issue is still present, I can only run Is there any chance of a hotfix specifically for |
As a workaround for Angular 10+, I created a small script to directly call the xliffmerge function
I call it from package.json
|
using your latest version from today:
My Environment:
yarn xliffmerge fails to run, it seems to get an extra parameter which it interprets as a language this paramer is the path of xliffmerge (i redacted the paths a little bit)
in your file xliff-merge.js where the command line arguments are parsed
its starting from 1,
From what I read here: (found in the internet ;))
the "real" arguments also should start from 2 not 1.
So if i change line 53 to
for (let i = 2; i < argv.length; i++) {
it works for me.
As an alternative:
addind to the parseArgs something like
works too, but i guess thats not generic enough.
Not sure whether this is specific to using yarn or my setup.
The text was updated successfully, but these errors were encountered: