Skip to content

Commit e713b2b

Browse files
authored
Rethrow postcss error
1 parent 379e06e commit e713b2b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/class-names/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ export default async function getClassNames(cwd = process.cwd(), { onChange = ()
7676
})
7777
)
7878
)
79+
} catch (error) {
80+
throw error
7981
} finally {
8082
hook.unhook()
8183
}

0 commit comments

Comments
 (0)