| return cli.prompt(choices, 'git repository : ', chessRepo).then(function(choice){ chessRepo = choice } ) | return cli.prompt(choices, 'git repository : ', chessRepo).then(function(choice){ chessRepo = choice } ) | ||||
| } | } | ||||
| ) | ) | ||||
| return any(steps).then(function(chessRepo){ | |||||
| return any(steps).then(function(){ | |||||
| var ifns = [ | var ifns = [ | ||||
| ['git', ['clone', chessRepo + '/chess/elxr'] ] | ['git', ['clone', chessRepo + '/chess/elxr'] ] | ||||
| ] | ] | ||||
| if(existsSyncFolder( selectedinstance.root + '\\elxr')) { | if(existsSyncFolder( selectedinstance.root + '\\elxr')) { |