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
On MacOS if I run:
import { globSync } from 'glob'; const files = globSync('./plugins/**/*.*'); console.log(files);
The output is:
[ 'plugins/Surge XT Effects.app', 'plugins/Surge XT Effects.app/Contents/Info.plist', 'plugins/Surge XT Effects.app/Contents/Resources/RecentFilesMenuTemplate.nib', 'plugins/Surge XT Effects.app/Contents/Resources/Icon.icns' ]
If I change to:
import { globSync } from 'glob'; const files = globSync('./plugins/**/*.*', { ignore: ['./plugins/**/Contents/**/*'] }); console.log(files);
[ 'plugins/Surge XT Effects.app', ]
My assumption is that most users want want the "file" as shown in the UI, vs the contents of the package.
The text was updated successfully, but these errors were encountered:
This also could affect Windows:
[ 'plugins\\Surge XT Effects.vst3', 'plugins\\Surge XT Effects.vst3\\Plugin.ico', 'plugins\\Surge XT Effects.vst3\\desktop.ini', 'plugins\\Surge XT Effects.vst3\\Contents\\x86_64-win\\Surge XT Effects.vst3' ]
Sorry, something went wrong.
No branches or pull requests
On MacOS if I run:
The output is:
If I change to:
The output is:
My assumption is that most users want want the "file" as shown in the UI, vs the contents of the package.
The text was updated successfully, but these errors were encountered: