Commits

Mark Spear  committed 58738ea

Check to see if there is a useful completion before modifying the CLI input line. r=pwalton

  • Participants
  • Parent commits 0deef9d

Comments (0)

Files changed (1)

File plugins/supported/command_line/views/cli.js

      * Apply the proposed completion
      */
     complete: function() {
-        this._inputer.value = this._completion;
+        if (this._completion) {
+            this._inputer.value = this._completion;
+        }
     },
 
     /**