Skip to content

Commit 4bec95d

Browse files
hanslfilipesilva
authored andcommitted
test: fix tslint failure test after update
The latest tslint (minor version) does not return an error status code when linting errors were fixed (using --fix). Only if there are more linting errors, which is what were adding here.
1 parent b1ff124 commit 4bec95d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/tests/lint/lint-with-type-check-fail.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ const c = {
2424
2525
function check(val: any, fxState: any) {
2626
if (typeof val === "string" && val.indexOf(" ") < 0) {
27-
let r = val.match(ANIMATION_CSS_VALUE_REGEX);
28-
let num = parseFloat(r[1]);
27+
var r = val.match(ANIMATION_CSS_VALUE_REGEX);
28+
var num = parseFloat(r[1]);
2929
3030
if (!isNaN(num)) {
3131
fxState.num = num + "";

0 commit comments

Comments
 (0)