Closed nam-edi closed 1 year ago
Hello, I have an error with "generateGlobTasks".
Here is the code that causes the problem:
const options = { ...taskOptions, ignore: taskOptions.ignore.concat(ignore) };
Here is the error: TypeError: Cannot read properties of undefined (reading 'concat') The problem is solved if we replace it with:
const options = { ...taskOptions, ignore: (taskOptions.ignore || []).concat(ignore) };
There's no such code in the latest globby version. Make sure you are on the latest version.
globby
Hello, I have an error with "generateGlobTasks".
Here is the code that causes the problem:
Here is the error: TypeError: Cannot read properties of undefined (reading 'concat') The problem is solved if we replace it with: