Fixing braces issue
This commit is contained in:
1 parent
ca9dbdeb75
commit
64397003fa
4 files changed
+9
-13
No files matched your search
+1
-6
@@ -1,4 +1,4 @@
|
||||
exports.newDebugLog = function newDebugLog() {
|
||||
exports.newDebugLog = function newDebugLog() {
|
||||
|
||||
const ROOT_DIR = './';
|
||||
const MODULE_NAME = "DebugLog";
|
||||
@@ -142,10 +142,5 @@
|
||||
return str.length < max ? pad("0" + str, max) : str;
|
||||
}
|
||||
|
||||
function spacePad(str, max) {
|
||||
str = str.toString();
|
||||
return str.length < max ? spacePad(" " + str, max) : str;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user