[gnome-continuous] Fix some typos in change to add --bus-type



commit de1794172519087d1d856cdff8f5ea3efb36e5c8
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Sat Oct 8 22:34:27 2016 -0400

    Fix some typos in change to add --bus-type

 src/js/builtins/autobuilder.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/js/builtins/autobuilder.js b/src/js/builtins/autobuilder.js
index 086670e..fc7ff41 100644
--- a/src/js/builtins/autobuilder.js
+++ b/src/js/builtins/autobuilder.js
@@ -71,13 +71,13 @@ const Autobuilder = new Lang.Class({
        if (args._autoupdate_rebuild)
                this._autoupdate_rebuild = Gio.File.new_for_path(args._autoupdate_rebuild);
 
-        let bus = None;
+        let bus = null;
         if (args.bus_type == 'session' || args.bus_type == null) {
             bus = Gio.DBus.session;
         } else if (args.bus_type == 'system') {
             bus = Gio.DBus.system;
         } else if (args.bus_type != 'none') {
-            throw new Error("Bus type " args.bus_type + " must be one of system, session, or none");
+            throw new Error("Bus type " + args.bus_type + " must be one of system, session, or none");
         }
 
         if (bus) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]