debug msg
This commit is contained in:
parent
8921d56877
commit
15a55e0a65
@ -13,9 +13,10 @@ import childProcess from "child_process";
|
|||||||
|
|
||||||
|
|
||||||
const mkdirSync = function (dirPath) {
|
const mkdirSync = function (dirPath) {
|
||||||
console.log("Ensuring Folder: " + dirPath)
|
|
||||||
try {
|
try {
|
||||||
fs.mkdirSync(dirPath);
|
fs.mkdirSync(dirPath);
|
||||||
|
console.log("Folder Ensured: " + dirPath)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (err.code !== "EEXIST") throw err;
|
if (err.code !== "EEXIST") throw err;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user