Skip to content

Commit 3f784b4

Browse files
committed
fix lint errors
1 parent 2a88b64 commit 3f784b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/semver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class Version {
5151
// const result = Debug.checkDefined(tryParseComponents(major), "Invalid version");
5252
const result = tryParseComponents(major);
5353
if (result === undefined) {
54-
throw "Invalid version";
54+
throw "Invalid version"; // eslint-disable-line no-throw-literal
5555
}
5656
({ major, minor, patch, prerelease, build } = result);
5757
}

0 commit comments

Comments
 (0)