diff --git a/@commitlint/top-level/src/index.ts b/@commitlint/top-level/src/index.ts index 94a9a7beeb..09bc581f7f 100644 --- a/@commitlint/top-level/src/index.ts +++ b/@commitlint/top-level/src/index.ts @@ -7,7 +7,7 @@ export default toplevel; * Find the next git root */ async function toplevel(cwd: string) { - const found = await up('.git', { cwd, type: 'directory' }); + const found = await up('.git', {cwd, type: 'directory'}); if (typeof found !== 'string') { return found;