Skip to content

Commit

Permalink
Update path-resolve.js (#100)
Browse files Browse the repository at this point in the history
Fixing the support for Go lang files with the correct key from the supported files API.

Signed-off-by: Douglas <douglas@dactbc.com>
  • Loading branch information
dacoburn authored Mar 7, 2024
1 parent 68321b4 commit 2e7947a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/path-resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export async function mapGlobEntryToFiles (entry, supportedFiles) {
const pyFilePatterns = Object.values(supportedFiles['pypi'] || {})
.map(p => `**/${/** @type {{ pattern: string }} */ (p).pattern}`)

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

0 comments on commit 2e7947a

Please sign in to comment.