[debugger] fix messages
authorFedor Indutny <fedor.indutny@gmail.com>
Thu, 8 Sep 2011 10:44:55 +0000 (17:44 +0700)
committerFedor Indutny <fedor.indutny@gmail.com>
Thu, 8 Sep 2011 19:06:07 +0000 (02:06 +0700)
lib/_debugger.js

index d0133d9..b374df6 100644 (file)
@@ -721,7 +721,7 @@ Interface.prototype.handleBreak = function(r) {
 
 
 Interface.prototype.requireConnection = function() {
-  if (!this.client) throw Error('App isn\'t running... Try `run()` instead');
+  if (!this.client) throw Error('App isn\'t running... Try `run` instead');
 };
 
 Interface.prototype.controlEval = function(code, context, filename, callback) {
@@ -806,7 +806,7 @@ Interface.prototype.help = function() {
 // Run script
 Interface.prototype.run = function() {
   if (this.child) {
-    throw Error('App is already running... Try `restart()` instead');
+    throw Error('App is already running... Try `restart` instead');
   } else {
     this.trySpawn();
   }
@@ -815,7 +815,7 @@ Interface.prototype.run = function() {
 
 // Restart script
 Interface.prototype.restart = function() {
-  if (!this.child) throw Error('App isn\'t running... Try `run()` instead');
+  if (!this.child) throw Error('App isn\'t running... Try `run` instead');
 
   var self = this;