We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0b69fd commit 8b014c4Copy full SHA for 8b014c4
2 files changed
CODEOWNERS .github/CODEOWNERSCODEOWNERS renamed to .github/CODEOWNERS
scripts/codeowners.mjs
@@ -6,7 +6,8 @@ import { getOwnership } from '@snyk/github-codeowners/dist/lib/ownership/index.j
6
const dir = resolve(import.meta.dirname, '..')
7
const strategy = FILE_DISCOVERY_STRATEGY.FILE_SYSTEM
8
const filePaths = await getFilePaths(dir, strategy)
9
-const files = await getOwnership('CODEOWNERS', filePaths)
+const codeownersPath = resolve(dir, '.github/CODEOWNERS')
10
+const files = await getOwnership(codeownersPath, filePaths)
11
12
const unloved = files.filter(f => f.owners.length === 0)
13
const unlovedSpecs = unloved.filter(f => f.path.endsWith('.spec.js'))
0 commit comments