mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
Fix incorrectly-reverted change to mkdirSync call
An intermediate version of this code read:
fs.mkdir(demoStaticTmpDir, {recursive: true}), done);
but apparently `fs.mkdir` doesn't honour the recursive option, so I
tried to revert the change but munged it instead.
This commit cleans up the mess I made.
This commit is contained in:
committed by
Christopher Allen
parent
7d306f4089
commit
ebd6559822
@@ -28,7 +28,7 @@ function prepareDeployDir(done) {
|
||||
if (fs.existsSync(demoTmpDir)) {
|
||||
rimraf.sync(demoTmpDir);
|
||||
}
|
||||
fs.mkdir(demoStaticTmpDir, {recursive: true});
|
||||
fs.mkdirSync(demoStaticTmpDir, {recursive: true});
|
||||
done();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user