fix an broken question.
authorYoshihiro Kikuchi <yknetg@gmail.com>
Tue, 5 Jul 2011 08:32:23 +0000 (17:32 +0900)
committerkoichik <koichik@improvement.jp>
Wed, 6 Jul 2011 00:24:37 +0000 (09:24 +0900)
Fixes #1274.

lib/_debugger.js

index 2714fc5..4ae19d5 100644 (file)
@@ -998,7 +998,7 @@ Interface.prototype.yesNoQuestion = function(prompt, cb) {
       cb(false);
     } else {
       console.log('Please answer y or n.');
-      self.restartQuestion(cb);
+      self.yesNoQuestion(prompt, cb);
     }
   });
 };