adding debug message for folder creation
This commit is contained in:
parent
1a5e6318de
commit
52a8e482e5
@ -1,8 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* This script automatically generates OperationConfig.json, containing metadata
|
* This script automatically generates empty default files
|
||||||
* for each operation in the src/core/operations directory.
|
|
||||||
* It also generates modules in the src/core/config/modules directory to separate
|
|
||||||
* out operations into logical collections.
|
|
||||||
*
|
*
|
||||||
* @author David B Heise [david@heiseink.com]
|
* @author David B Heise [david@heiseink.com]
|
||||||
* @copyright Crown Copyright 2018
|
* @copyright Crown Copyright 2018
|
||||||
@ -16,6 +13,7 @@ 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);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user