diff --git a/MultiPeriodDaily.js b/MultiPeriodDaily.js index 884f53e4a..6fa20d855 100644 --- a/MultiPeriodDaily.js +++ b/MultiPeriodDaily.js @@ -379,7 +379,7 @@ periodsControlLoop(); return; } - } + } let dependencyIndex = 0; dataFiles = []; @@ -772,4 +772,9 @@ callBackFunction(global.DEFAULT_FAIL_RESPONSE); } } + + function pad(str, max) { + str = str.toString(); + return str.length < max ? pad(" " + str, max) : str; + } };