Skip to content

Commit 2e7947a

Browse files
authored
Update path-resolve.js (#100)
Fixing the support for Go lang files with the correct key from the supported files API. Signed-off-by: Douglas <[email protected]>
1 parent 68321b4 commit 2e7947a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/path-resolve.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export async function mapGlobEntryToFiles (entry, supportedFiles) {
101101
const pyFilePatterns = Object.values(supportedFiles['pypi'] || {})
102102
.map(p => `**/${/** @type {{ pattern: string }} */ (p).pattern}`)
103103

104-
const goSupported = supportedFiles['go'] || {}
104+
const goSupported = supportedFiles['golang'] || {}
105105
const goSupplementalPatterns = Object.values(goSupported)
106106
// .filter(key => key !== 'gomod')
107107
.map(p => `**/${/** @type {{ pattern: string }} */ (p).pattern}`)

0 commit comments

Comments
 (0)