From 3ea74a298b53f7208ffea19e7db02c2c5d0c9e4f Mon Sep 17 00:00:00 2001 From: Oscar Otero Date: Thu, 27 Apr 2023 18:13:26 +0200 Subject: [PATCH] fmt fix --- plugins/sass.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/sass.ts b/plugins/sass.ts index baf710f3..6615c85c 100644 --- a/plugins/sass.ts +++ b/plugins/sass.ts @@ -1,6 +1,6 @@ import { merge, normalizePath, replaceExtension } from "../core/utils.ts"; import Sass from "../deps/sass.ts"; -import { posix, toFileUrl, fromFileUrl } from "../deps/path.ts"; +import { fromFileUrl, posix, toFileUrl } from "../deps/path.ts"; import { Page } from "../core/filesystem.ts"; import { prepareAsset, saveAsset } from "./source_maps.ts"; import textLoader from "../core/loaders/text.ts"; @@ -79,7 +79,9 @@ export default function (userOptions?: Partial) { } } - throw new Error(`File cannot be canonicalized: ${url} (${pathname})`); + throw new Error( + `File cannot be canonicalized: ${url} (${pathname})`, + ); }, async load(url: URL) { let pathname = normalizePath(fromFileUrl(url));