Rethrow postcss error

master
Brad Cornes 2020-08-27 13:31:41 +01:00 committed by GitHub
parent 379e06e3c3
commit e713b2bed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,8 @@ export default async function getClassNames(cwd = process.cwd(), { onChange = ()
})
)
)
} catch (error) {
throw error
} finally {
hook.unhook()
}