Skip to content

Commit f425870

Browse files
authored
Merge pull request #6 from yaeda/fix-build-for-private
fix(plugin): copy operation should be sync for 'gitbook build'
2 parents 75b3a15 + 5b50960 commit f425870

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)