Skip to content

Commit

Permalink
Update src/detectors/typeChecker/FileLinter.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Oßwald <[email protected]>
  • Loading branch information
d3xter666 and matz3 authored Mar 19, 2024
1 parent 197afdb commit 705483c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detectors/typeChecker/FileLinter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export default class FileLinter {

let libVersion;

if (fnArg === null) { // The method is init, but nor argument has been found
if (fnArg === null) { // The method is init, but no argument has been found
libVersion = node;
} else if (fnArg) {
const apiKeyProp = (fnArg as ts.ObjectLiteralExpression)
Expand Down

0 comments on commit 705483c

Please sign in to comment.