summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/promzard
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/promzard')
-rw-r--r--deps/npm/node_modules/promzard/example/substack-input.js2
-rw-r--r--deps/npm/node_modules/promzard/promzard.js1
-rw-r--r--deps/npm/node_modules/promzard/test/simple.js6
3 files changed, 5 insertions, 4 deletions
diff --git a/deps/npm/node_modules/promzard/example/substack-input.js b/deps/npm/node_modules/promzard/example/substack-input.js
index c049c20f9a..bf7aedb82d 100644
--- a/deps/npm/node_modules/promzard/example/substack-input.js
+++ b/deps/npm/node_modules/promzard/example/substack-input.js
@@ -17,7 +17,7 @@ module.exports = {
;
}
catch (e) {}
-
+
return prompt('description', value);
})(),
"main" : prompt('entry point', 'index.js'),
diff --git a/deps/npm/node_modules/promzard/promzard.js b/deps/npm/node_modules/promzard/promzard.js
index 424152a802..da1abca953 100644
--- a/deps/npm/node_modules/promzard/promzard.js
+++ b/deps/npm/node_modules/promzard/promzard.js
@@ -235,3 +235,4 @@ PromZard.prototype.prompt = function (pdt, cb) {
read({ prompt: prompt + ':' , default: def }, cb)
}
+
diff --git a/deps/npm/node_modules/promzard/test/simple.js b/deps/npm/node_modules/promzard/test/simple.js
index bcf8791113..034a86475a 100644
--- a/deps/npm/node_modules/promzard/test/simple.js
+++ b/deps/npm/node_modules/promzard/test/simple.js
@@ -3,7 +3,7 @@ var promzard = require('../');
test('simple', function (t) {
t.plan(1);
-
+
var ctx = { tmpdir : '/tmp' }
var file = __dirname + '/simple.input';
promzard(file, ctx, function (err, output) {
@@ -19,11 +19,11 @@ test('simple', function (t) {
output
);
});
-
+
setTimeout(function () {
process.stdin.emit('data', '\n');
}, 100);
-
+
setTimeout(function () {
process.stdin.emit('data', '55\n');
}, 200);