mirror of https://github.com/nodejs/node.git
[debugger] fix messages
parent
22eb2d5084
commit
199f90b138
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue