Skip to content

Commit fcf411a

Browse files
fix(nuget): Fix typo
Fix typo in comment.
1 parent fdda871 commit fcf411a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/modules/versioning/nuget/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { regEx } from '../../../util/regex';
22
import type { NugetVersion } from './types';
33

4-
// We can't just use `Number.parseInt()` beacause it parses `123abc` as `123`,
4+
// We can't just use `Number.parseInt()` because it parses `123abc` as `123`,
55
// which leads to incorrect version comparison.
66
function ensureNumber(input: string): number | null {
77
if (!regEx(/^\d+$/).test(input)) {

0 commit comments

Comments
 (0)