mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-12 00:45:14 +00:00
Update app.js
This commit is contained in:
parent
736955fe35
commit
d74dd7e489
6
app.js
6
app.js
|
@ -251,9 +251,9 @@ function initializeConsole() {
|
|||
var app = require(name);
|
||||
if (app) {
|
||||
if (app.main) {
|
||||
var exitstatus = app.main.call(this, args);
|
||||
if (typeof(exitstatus) !== "undefined") {
|
||||
exit(exitstatus);
|
||||
var exitStatus = app.main.call(this, args);
|
||||
if (typeof(exitStatus) !== "undefined") {
|
||||
exit(exitStatus);
|
||||
}
|
||||
} else {
|
||||
console.error("Error, missing main entry point in", name + ".js");
|
||||
|
|
Loading…
Reference in New Issue
Block a user