[debugger] fix messages

pull/22966/head
Fedor Indutny 2011-09-08 17:44:55 +07:00
parent 22eb2d5084
commit 199f90b138
1 changed files with 3 additions and 3 deletions

View File

@ -721,7 +721,7 @@ Interface.prototype.handleBreak = function(r) {
Interface.prototype.requireConnection = function() { 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) { Interface.prototype.controlEval = function(code, context, filename, callback) {
@ -806,7 +806,7 @@ Interface.prototype.help = function() {
// Run script // Run script
Interface.prototype.run = function() { Interface.prototype.run = function() {
if (this.child) { if (this.child) {
throw Error('App is already running... Try `restart()` instead'); throw Error('App is already running... Try `restart` instead');
} else { } else {
this.trySpawn(); this.trySpawn();
} }
@ -815,7 +815,7 @@ Interface.prototype.run = function() {
// Restart script // Restart script
Interface.prototype.restart = function() { 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; var self = this;