Closed fisker closed 1 year ago
Currently isGitIgnoredSync work like this
isGitIgnoredSync
isGitIgnoredSync({cwd})(file)
and isGitIgnored work like this
isGitIgnored
(await isGitIgnored({}))(file); // Note the following doesn't work await isGitIgnored({})(file);
Let's change them to
isGitIgnoredSync(file, {cwd})
and
await isGitIgnored(file, {cwd});
I'll rethink about this https://github.com/sindresorhus/globby/pull/239#issuecomment-1318099169
Currently
isGitIgnoredSync
work like thisand
isGitIgnored
work like thisLet's change them to
and