We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbf83e5 commit d29aec6Copy full SHA for d29aec6
src/files/deno.ts
@@ -159,7 +159,7 @@ export async function readFileTree(rootPath: string): Promise<FileTree> {
159
)
160
ignore.add(await readBidsIgnore(ignoreFile))
161
} catch (err) {
162
- if (err && typeof err === 'object' && !('code' in err && err.code !== 'ENOENT')) {
+ if (err && typeof err === 'object' && !('code' in err && err.code === 'ENOENT')) {
163
logger.error(`Failed to read '.bidsignore' file with the following error:\n${err}`)
164
}
165
0 commit comments