Repository navigation
Commit f9fcfbd
committed
fix(core): drop the space after the comma in two Stryker disable directives
The mutation gate's directive validator accepts a mutator list written without
spaces: Stryker disable next-line ConditionalExpression,EqualityOperator: reason.
Two directives in src/core/task/Task.ts separate their mutators with a comma and
a space - line 4454 (ConditionalExpression, EqualityOperator) and line 4890
(ConditionalExpression, LogicalOperator, EqualityOperator) - and are the only two
of the repo's 40 directive lines that fail the validator, out of 11 files that
carry directives.
Because the gate validates every line of every source file a pull touches and
reports the first failure, any later pull that edits Task.ts inherits an advisory
from these two lines even when it does not touch them. Removing only line 4454
moves the advisory to line 4890; this removes both, so a pull touching Task.ts
earns no advisory from this file.
Neither line changes behaviour: both are comments, and the change costs no
changed executable lines in the mutation-diff price.1 parent 53cb5b5 commit f9fcfbd
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4451 | 4451 | | |
4452 | 4452 | | |
4453 | 4453 | | |
4454 | | - | |
| 4454 | + | |
4455 | 4455 | | |
4456 | 4456 | | |
4457 | 4457 | | |
| |||
4887 | 4887 | | |
4888 | 4888 | | |
4889 | 4889 | | |
4890 | | - | |
| 4890 | + | |
4891 | 4891 | | |
4892 | 4892 | | |
4893 | 4893 | | |
| |||
0 commit comments