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 fdda871 commit fcf411aCopy full SHA for fcf411a
lib/modules/versioning/nuget/version.ts
@@ -1,7 +1,7 @@
1
import { regEx } from '../../../util/regex';
2
import type { NugetVersion } from './types';
3
4
-// We can't just use `Number.parseInt()` beacause it parses `123abc` as `123`,
+// We can't just use `Number.parseInt()` because it parses `123abc` as `123`,
5
// which leads to incorrect version comparison.
6
function ensureNumber(input: string): number | null {
7
if (!regEx(/^\d+$/).test(input)) {
0 commit comments