Fix tune validation

This commit is contained in:
Piotr Rogowski 2023-03-02 23:36:11 +01:00
parent 55248f77f9
commit 13f289c4b2
No known key found for this signature in database
GPG Key ID: 4A842D702D9C6F8F
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ class TuneParser {
this.isTuneValid = true;
}
if (this.isSignatureSupported()) {
if (!this.isSignatureSupported()) {
this.isTuneValid = false;
}
@ -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;
}
}