mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
removed ouput of current dir path, if it equal to server dir path
This commit is contained in:
parent
21e63cbd3d
commit
d43931533e
1 changed files with 5 additions and 3 deletions
|
|
@ -120,10 +120,12 @@ CloudServer.init = (function(){
|
|||
*/
|
||||
var lServerDir = Path.dirname(process.argv[1]);
|
||||
var lProcessDir = process.cwd();
|
||||
console.log('current dir: ' + lProcessDir);
|
||||
console.log('server dir: ' + lServerDir);
|
||||
if(lProcessDir !== lServerDir)
|
||||
|
||||
if(lProcessDir !== lServerDir){
|
||||
console.log('current dir: ' + lProcessDir);
|
||||
process.chdir(lServerDir);
|
||||
}
|
||||
console.log('server dir: ' + lServerDir);
|
||||
|
||||
try{
|
||||
console.log('reading configuretion file config.json...');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue