Skip to content

Commit d77aa29

Browse files
committed
fix
1 parent 1607392 commit d77aa29

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@
3535

3636
# Parser bug?
3737
/tests/fixtures/rules/indent/invalid/const-tag01-input.svelte
38+
/tests/fixtures/rules/indent/invalid/const-tag01-output.svelte

tests/utils/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export function loadTestCases(
133133
const errors = fs.readFileSync(errorFile, 'utf8');
134134
config.errors = parseYaml(errors);
135135
if (fixable) {
136-
let output;
136+
let output = null;
137137
try {
138138
output = fs.readFileSync(outputFile, 'utf8');
139139
} catch (_e) {

0 commit comments

Comments
 (0)