From 8e9eaeeb2e48ea49a9105098b26e6d6974f30736 Mon Sep 17 00:00:00 2001 From: "alexander.akait" Date: Thu, 25 Jul 2024 21:16:53 +0300 Subject: [PATCH] style: fix --- src/utils.js | 3 +-- test/implementation-option.test.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/utils.js b/src/utils.js index d10c3533..112fb19d 100644 --- a/src/utils.js +++ b/src/utils.js @@ -176,8 +176,7 @@ async function getSassOptions( }; } - const isModernAPI = - apiType === "modern" || apiType === "modern-compiler"; + const isModernAPI = apiType === "modern" || apiType === "modern-compiler"; const { resourcePath } = loaderContext; if (isModernAPI) { diff --git a/test/implementation-option.test.js b/test/implementation-option.test.js index 74526976..c98f3825 100644 --- a/test/implementation-option.test.js +++ b/test/implementation-option.test.js @@ -203,7 +203,7 @@ describe("implementation option", () => { it("not specify with node-sass", async () => { const testId = getTestId("language", "scss"); const options = { - implementation: nodeSass + implementation: nodeSass, }; const compiler = getCompiler(testId, { loader: { options } }); const stats = await compile(compiler);