From 3182630283d9eafb269ae032c060b5ce0eaa80a6 Mon Sep 17 00:00:00 2001 From: "Nicholas C. Zakas" Date: Thu, 6 Oct 2022 14:28:40 -0700 Subject: [PATCH] Cleanup requires --- lib/eslint/eslint-helpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/eslint/eslint-helpers.js b/lib/eslint/eslint-helpers.js index 4f8e1578de9..80e37f92310 100644 --- a/lib/eslint/eslint-helpers.js +++ b/lib/eslint/eslint-helpers.js @@ -17,13 +17,13 @@ const hash = require("../cli-engine/hash"); const minimatch = require("minimatch"); const util = require("util"); const fswalk = require("@nodelib/fs.walk"); -const { Minimatch } = require("minimatch"); //----------------------------------------------------------------------------- -// Fix fswalk +// Fixup references //----------------------------------------------------------------------------- const doFsWalk = util.promisify(fswalk.walk); +const Minimatch = minimatch.Minimatch; //----------------------------------------------------------------------------- // Errors