@jtff/miztemplate-lib 3.0.0-rc1 → 3.0.0-rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/mizlib.js +2 -1
- package/package.json +1 -1
package/lib/mizlib.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
const jszip = require("jszip");
|
|
4
|
-
const lstat = promisify(fs.lstat);
|
|
5
4
|
const path = require("path");
|
|
6
5
|
const {format, parse} = require("lua-json");
|
|
7
6
|
const {promisify} = require("util");
|
|
7
|
+
const fs = require("fs");
|
|
8
|
+
const lstat = promisify(fs.lstat);
|
|
8
9
|
|
|
9
10
|
function injectLuaScriptsInMissionObject(tObject, trObject, mrObject, strTitle, scriptFilesArray, timingInSeconds, hexColor) {
|
|
10
11
|
let nextIndex = Object.keys(trObject).length + 1;
|