From 96978e524bd029f44085bdb78ded422d58ac5ece Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Fri, 25 Feb 2022 13:51:09 -0500 Subject: [PATCH] Fix CS --- src/util/resolveConfig.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/util/resolveConfig.js b/src/util/resolveConfig.js index d301def10c89..ad9c22529881 100644 --- a/src/util/resolveConfig.js +++ b/src/util/resolveConfig.js @@ -68,7 +68,9 @@ const configUtils = { }, rgb(property) { if (!property.startsWith('--')) { - throw new Error("The rgb() helper requires a custom property name to be passed as the first argument.") + throw new Error( + 'The rgb() helper requires a custom property name to be passed as the first argument.' + ) } return ({ opacityValue }) => { @@ -81,7 +83,9 @@ const configUtils = { }, hsl(property) { if (!property.startsWith('--')) { - throw new Error("The hsl() helper requires a custom property name to be passed as the first argument.") + throw new Error( + 'The hsl() helper requires a custom property name to be passed as the first argument.' + ) } return ({ opacityValue }) => {