You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ran into this when updating to web-scripts 7 - it looks like something is wrong with the way that args are parsed in index.ts which causes tasks to receive config containing multiple instances of each command in nested arrays.
The below command shows part of the output after adding console.log(task.restOptions) inside eslintRun.
This causes concrete issues when running eslint - it looks the array is causing the later arguments to be concatenated onto the value of the first, so commands like the one below produce an error:
Ran into this when updating to web-scripts 7 - it looks like something is wrong with the way that args are parsed in index.ts which causes tasks to receive config containing multiple instances of each command in nested arrays.
The below command shows part of the output after adding
console.log(task.restOptions)
inside eslintRun.This causes concrete issues when running eslint - it looks the array is causing the later arguments to be concatenated onto the value of the first, so commands like the one below produce an error:
The text was updated successfully, but these errors were encountered: