mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-09 15:55:01 -04:00
adding debug message for folder creation
This commit is contained in:
parent
1a5e6318de
commit
52a8e482e5
1 changed files with 2 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue