We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d454a4a commit b45975fCopy full SHA for b45975f
src/providers/python_pip.js
@@ -95,6 +95,9 @@ function splitToNameVersion(nameVersion) {
95
}
96
const regex = /[^\w\s-_]/g;
97
let endIndex = nameVersion.search(regex);
98
+ if(endIndex === -1) {
99
+ return [nameVersion.trim()]
100
+ }
101
result.push(nameVersion.substring(0, endIndex).trim())
102
return result;
103
0 commit comments