From e713b2bed8d4ca04c1ce2c873cf6fce609b42a04 Mon Sep 17 00:00:00 2001 From: Brad Cornes Date: Thu, 27 Aug 2020 13:31:41 +0100 Subject: [PATCH] Rethrow postcss error --- src/class-names/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/class-names/index.js b/src/class-names/index.js index b7a63c6..4ff3211 100644 --- a/src/class-names/index.js +++ b/src/class-names/index.js @@ -76,6 +76,8 @@ export default async function getClassNames(cwd = process.cwd(), { onChange = () }) ) ) + } catch (error) { + throw error } finally { hook.unhook() }