Skip to content

Commit 5a65961

Browse files
build: bundle dist for v1.6.1
1 parent d144d55 commit 5a65961

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dist/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81434,6 +81434,12 @@ function findPythonVersionMatches(filePath, content) {
8143481434
}
8143581435
const relativeIndex = match[0].indexOf(version);
8143681436
const versionIndex = match.index + (relativeIndex >= 0 ? relativeIndex : 0);
81437+
const patchContinuationIndex = versionIndex + version.length;
81438+
const nextChar = content[patchContinuationIndex];
81439+
const nextNextChar = content[patchContinuationIndex + 1];
81440+
if (nextChar === '.' && nextNextChar && /\d/.test(nextNextChar)) {
81441+
continue;
81442+
}
8143781443
const position = indexToPosition(content, versionIndex);
8143881444
results.push({
8143981445
file: filePath,

0 commit comments

Comments
 (0)