Skip to content

Commit e6deb0b

Browse files
committed
create dir recursive for jsbeautify script
1 parent c378f1d commit e6deb0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/copy-jsbeautify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const path = require('path');
33

44
function copy(from, to) {
55
if (!fs.existsSync(to)) {
6-
fs.mkdirSync(to);
6+
fs.mkdirSync(to, { recursive: true });
77
}
88
const files = fs.readdirSync(from);
99
for (let file of files) {

0 commit comments

Comments
 (0)