mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-09 15:55:01 -04:00
last lint fix
This commit is contained in:
parent
90e7a9350d
commit
1a5e6318de
1 changed files with 2 additions and 3 deletions
|
@ -9,8 +9,6 @@
|
||||||
* @license Apache-2.0
|
* @license Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*eslint no-console: ["off"] */
|
|
||||||
|
|
||||||
import path from "path";
|
import path from "path";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import process from "process";
|
import process from "process";
|
||||||
|
@ -34,9 +32,10 @@ const mkdirpSync = function (dirPath) {
|
||||||
|
|
||||||
|
|
||||||
const dir = process.cwd();
|
const dir = process.cwd();
|
||||||
|
const newPath = path.join(dir, "src/core/config/modules");
|
||||||
|
|
||||||
//Create the Destination Folder
|
//Create the Destination Folder
|
||||||
mkdirpSync(path.join(dir, "src/core/config/modules"));
|
mkdirpSync(newPath);
|
||||||
|
|
||||||
//Create the default files
|
//Create the default files
|
||||||
fs.writeFileSync(path.join(dir, "src/core/config/modules/OpModules.mjs"), "export default{};\n");
|
fs.writeFileSync(path.join(dir, "src/core/config/modules/OpModules.mjs"), "export default{};\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue