more .js wrongly removed

This commit is contained in:
Olivier Gagnon
2018-06-26 13:38:55 -04:00
parent 40b29ea3c0
commit 50a1e83b55
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ function runScriptsLoop() {
//If it isn't running, start the script
if (workerScripts[i].running == false && workerScripts[i].env.stopFlag == false) {
let p = null; // p is the script's result promise.
if (workerScripts[i].name.endsWith("") || workerScripts[i].name.endsWith(".ns")) {
if (workerScripts[i].name.endsWith(".js") || workerScripts[i].name.endsWith(".ns")) {
p = startJsScript(workerScripts[i]);
} else {
try {