Commit 21faebbd authored by nanahira's avatar nanahira

fix

parent 56336275
...@@ -82,7 +82,7 @@ var process_callback = function(name, info) { ...@@ -82,7 +82,7 @@ var process_callback = function(name, info) {
status[name] = 1; status[name] = 1;
sendResponse("The Process "+name+" was triggered during running. It will be ran again."); sendResponse("The Process "+name+" was triggered during running. It will be ran again.");
pull_data(info.path, info.remote, info.branch, function() { pull_data(info.path, info.remote, info.branch, function() {
pull_callback(info); pull_callback(name, info);
}); });
} else { } else {
status[name] = false; status[name] = false;
...@@ -98,7 +98,7 @@ var add_process = function(name, info) { ...@@ -98,7 +98,7 @@ var add_process = function(name, info) {
} }
status[name] = 1; status[name] = 1;
pull_data(info.path, info.remote, info.branch, function() { pull_data(info.path, info.remote, info.branch, function() {
pull_callback(info); pull_callback(name, info);
}); });
return "Started a process in repo "+name+"."; return "Started a process in repo "+name+".";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment