[gnome-continuous] autobuilder: Fix an undefined variable
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] autobuilder: Fix an undefined variable
- Date: Wed, 9 Oct 2013 21:46:23 +0000 (UTC)
commit 54b5252e4d139cf0d968b1bce9ad68ddda612d1d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Oct 9 17:43:20 2013 -0400
autobuilder: Fix an undefined variable
src/js/builtins/autobuilder.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/js/builtins/autobuilder.js b/src/js/builtins/autobuilder.js
index 3d982f9..0a8adad 100644
--- a/src/js/builtins/autobuilder.js
+++ b/src/js/builtins/autobuilder.js
@@ -96,6 +96,8 @@ const Autobuilder = new Lang.Class({
},
_onTaskCompleted: function(taskmaster, task, success, error) {
+ let cancellable = null;
+
if (!task.changed)
GSystem.shutil_rm_rf(task.buildPath, cancellable);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]