mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
minor changes
This commit is contained in:
parent
d12dba22d5
commit
1dfa7fb2d1
1 changed files with 2 additions and 2 deletions
|
|
@ -846,13 +846,13 @@ CloudServer.writeLogsToFile = function(){
|
|||
};
|
||||
|
||||
/* function do safe require of needed module */
|
||||
var cloudRequire = function(pModule){
|
||||
function cloudRequire(pModule){
|
||||
try{
|
||||
return require(pModule);
|
||||
}
|
||||
catch(pError){
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
CloudServer.start();
|
||||
Loading…
Add table
Add a link
Reference in a new issue