Skip to content

Commit

Permalink
Fix tune validation
Browse files Browse the repository at this point in the history
  • Loading branch information
karniv00l committed Mar 2, 2023
1 parent 55248f7 commit 13f289c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/tune/TuneParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class TuneParser {
this.isTuneValid = true;
}

if (this.isSignatureSupported()) {
if (!this.isSignatureSupported()) {
this.isTuneValid = false;
}

Expand All @@ -92,7 +92,7 @@ class TuneParser {
}

private isSignatureSupported(): boolean {
// return this.tune.details.signature.match(/^(speeduino|rusEFI) .+$/) === null;
// return this.tune.details.signature.match(/^(speeduino|rusEFI) .+$/) !== null;
return true;
}
}
Expand Down

0 comments on commit 13f289c

Please sign in to comment.