Skip to content

Commit

Permalink
replace copy with copySync
Browse files Browse the repository at this point in the history
  • Loading branch information
piscium2010 authored Jul 18, 2020
1 parent 1fa1c25 commit c44ec01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export default function copy(options = {}) {
if (transformed) {
await fs.outputFile(dest, contents, restPluginOptions)
} else {
await fs.copy(src, dest, restPluginOptions)
await fs.copySync(src, dest, restPluginOptions)
}

if (verbose) {
Expand Down

0 comments on commit c44ec01

Please sign in to comment.