Skip to content

Commit

Permalink
Merge pull request #48 from piscium2010/master
Browse files Browse the repository at this point in the history
replace copy with copySync
  • Loading branch information
vladshcherbin committed Sep 2, 2023
2 parents 507bf5e + c44ec01 commit b34e8ba
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 b34e8ba

Please sign in to comment.