Commit f744e14b authored by Kjetil Thuen's avatar Kjetil Thuen
Browse files

Use string literal to call Promis func to make closure compiler happy

parent bf6b8cf1
......@@ -349,7 +349,8 @@ function CommandExecutor() {
break;
}
return intermediateResult.then(callbackFun, errorFun);
/*jslint sub: true */
return intermediateResult["then"](callbackFun, errorFun);
},
getShortHelpDescription: function (command) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment