[gnome-continuous] task: Partially revert the `hasn't changed` hunk
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] task: Partially revert the `hasn't changed` hunk
- Date: Wed, 9 Oct 2013 21:46:28 +0000 (UTC)
commit deef7f295e70a96ade076d97508827f10fa3aa60
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Oct 9 17:44:34 2013 -0400
task: Partially revert the `hasn't changed` hunk
We need to delete `rm -rf builddir` if the thing hasn't changed.
src/js/task.js | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/js/task.js b/src/js/task.js
index 645c8da..f103fa0 100644
--- a/src/js/task.js
+++ b/src/js/task.js
@@ -293,10 +293,8 @@ const TaskMaster = new Lang.Class({
if (idx == -1)
throw new Error("TaskMaster: Internal error - Failed to find completed task:" +
runner.taskData.name);
this._executing.splice(idx, 1);
- if (!runner.changed)
- return;
- if (success) {
+ if (success && runner.changed) {
let taskName = runner.taskData.name;
let taskDef = runner.taskData.taskDef;
let after = this._taskset.getTasksAfter(taskName);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]