Skip to content

Commit 5b50960

Browse files
committed
fix(plugin): copy operation should be sync for 'gitbook build'
1 parent 75b3a15 commit 5b50960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424
if (isPrivateRepo) {
2525
const source = this.config.get("root", "./")
2626
const target = path.join("./_book/gitbook/gitbook-plugin-github-issue-feedback/contents", source)
27-
fse.copy(source, target)
27+
fse.copySync(source, target)
2828
}
2929
}
3030
}

0 commit comments

Comments
 (0)