Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuunen committed Nov 15, 2023
1 parent 31c1f5e commit 71ccf2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/files/eslint.file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export class EsLintFile extends FileBase {

private updateFileContent (input: EslintRcJsonFile, expectedRules: EslintConfigRules) {
const fixedContent = this.injectRules(input, expectedRules)
/* c8 ignore next */
if (fixedContent.overrides?.length === 0) delete fixedContent.overrides
this.fileContent = objectToJson(fixedContent)
}
Expand Down

0 comments on commit 71ccf2b

Please sign in to comment.