Skip to content

Commit 52f1457

Browse files
committed
patches
1 parent b1d0cda commit 52f1457

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

lib/utils/path-resolve.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ export async function mapGlobEntryToFiles (entry, supportedFiles) {
106106
.filter(key => key !== 'packagejson')
107107
.map(key => /** @type {{ pattern: string }} */ (jsSupported[key]).pattern)
108108

109-
const pyFilePatterns = Object.values(supportedFiles['pypi'] || {}).map(p => p.pattern)
109+
const pyFilePatterns = Object.values(supportedFiles['pypi'] || {})
110+
.map(p => /** @type {{ pattern: string }} */ (p).pattern)
110111
if (entry.endsWith('/')) {
111112
// If the match is a folder and that folder contains a package.json file, then include it
112113
const filePath = path.resolve(entry, 'package.json')

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)