organize-imports-cli
organize-imports-cli copied to clipboard
Script not accepting wildcards
I don't know if I'm doing something wrong, if so, please tell me.
If I specify a single file it works fine, but whenever I try to use wildcards it just throws an error:
npx organize-imports-cli src/**/*
node_modules\ts-morph\dist\ts-morph.js:18700
throw new common.errors.FileNotFoundError(this.fileSystemWrapper.getStandardizedAbsolutePath(filePath));
^
...
path: 'C:/myPath/front/src/**/*',
code: 'ENOENT'
It doesn't matter if I use it with an extension at the end, like src/**/*.ts
or src/**/*.*
. I've also tried to just use a single folder, like src/*
and src/*.*
without luck. The error is the same in every scenario.
Does this script do not accept wildcards? If I want to organize imports from all files but only under a specific folder, is it possible to do so?
+1