We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Commands that use the source option seem to be throwing this error:
TypeError: Cannot read properties of undefined (reading 'concat') at Option.collect [as parseArg] (...node_modules\syncpack\dist\option.js:38:21)
npx syncpack list-mismatches -s "packages/*/package.json"
env:
Apparently the default/initial value for the previous parameter of the collect function was removed. It was here:
previous
collect
syncpack/src/option.ts
Lines 30 to 35 in fa21deb
Lines 18 to 22 in 2cd34fd
Issue can be fixed by adding back this line:
Line 34 in fa21deb
The text was updated successfully, but these errors were encountered:
Thanks @vonBrax I'll sort this today
Sorry, something went wrong.
379409f
Thanks for reporting, should be fixed in 9.0.2
Thank you for the awesome work and for the promptness in fixing the issue!
No branches or pull requests
Description
Commands that use the source option seem to be throwing this error:
TypeError: Cannot read properties of undefined (reading 'concat')
at Option.collect [as parseArg] (...node_modules\syncpack\dist\option.js:38:21)
Steps to reproduce:
npx syncpack list-mismatches -s "packages/*/package.json"
env:
Suggested Solution
Apparently the default/initial value for the
previous
parameter of thecollect
function was removed.It was here:
syncpack/src/option.ts
Lines 30 to 35 in fa21deb
And removed here:
syncpack/src/option.ts
Lines 18 to 22 in 2cd34fd
Issue can be fixed by adding back this line:
syncpack/src/option.ts
Line 34 in fa21deb
The text was updated successfully, but these errors were encountered: