From cfd6c3878031d9595830636df061958273866434 Mon Sep 17 00:00:00 2001 From: fregante Date: Sun, 13 Oct 2024 01:22:30 +0700 Subject: [PATCH] I don't know what I'm doing --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 3ebb91f7..b96c6da4 100644 --- a/index.js +++ b/index.js @@ -76,6 +76,7 @@ const lintText = async (string, options) => { const lintFiles = async (patterns, options) => { const files = await globFiles(patterns, options); + const {isQuiet} = options; const groups = await getOptionGroups(files, options); @@ -104,7 +105,7 @@ const lintFiles = async (patterns, options) => { const rulesMeta = eslint.getRulesMetaForResults(report); - return processReport(report, {isQuiet: options.isQuiet, rulesMeta}); + return processReport(report, {isQuiet, rulesMeta}); })); const report = mergeReports(reports);