Skip to content

Commit

Permalink
remove unnecessary await
Browse files Browse the repository at this point in the history
  • Loading branch information
ubermanu committed Sep 8, 2023
1 parent 6bff1d6 commit bc2bbea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-postcss/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default (options?: Options): Plugin => {
files.map(async (file) => {
const filePath = path.join(context.src, file)
const fileContent = await fs.readFile(filePath)
const compiler = await postcss(plugins ?? [])
const compiler = postcss(plugins ?? [])

const result = await compiler.process(fileContent, {
from: filePath,
Expand Down

0 comments on commit bc2bbea

Please sign in to comment.