mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Add Project object in runtime
This commit is contained in:
@@ -208,6 +208,9 @@ module.exports = {
|
||||
return runCommand(gitCommand,args,cwd);
|
||||
},
|
||||
clone: function(repo, cwd) {
|
||||
if (repo.url) {
|
||||
repo = repo.url;
|
||||
}
|
||||
var args = ["clone",repo,"."];
|
||||
return runCommand(gitCommand,args,cwd);
|
||||
},
|
||||
|
Reference in New Issue
Block a user