Open fletort opened 9 months ago
The documentation mention that the value of the ignoreFiles must be Glob patterns to look for ignore files, which are then used to ignore globbed files.
.
In you case, something like that should work.
- const paths = await globby(['**/**'], {ignoreFiles: '.claspignore'});
+ const paths = await globby(['**/**'], {ignoreFiles: '**/.claspignore'});
console.log(paths);
I use a ignore file that is evaluated by multimatch (https://github.com/google/clasp#ignore-file-claspignore)
So with a such exemple:
should select all file in src and ut directory and appsscript.sjon file.
This is not the case with globby. With this code:
The result is:
The file from src and ut directories are not "selected".
What i am missing ?