Permalink
Browse files

Put a : on prompt

  • Loading branch information...
1 parent 87e4ff0 commit c029a2b854d01740f2637b6da3bfc41f71387953 @isaacs isaacs committed Jun 13, 2012
Showing with 1 addition and 2 deletions.
  1. +0 −1 example/index.js
  2. +1 −1 promzard.js
View
@@ -5,7 +5,6 @@ var file = path.resolve(__dirname, 'substack.json')
var ctx = { basename: path.basename(path.dirname(file)) }
pz(file, ctx, function (er, res) {
- console.error('in cb', er, res)
if (er)
throw er
console.log(JSON.stringify(res, null, 2))
View
@@ -168,6 +168,6 @@ PromZard.prototype.prompt = function (pdt, cb) {
return cb(er, data ? tx(data) : null)
}}(cb)
- read({ prompt: prompt, default: def }, cb)
+ read({ prompt: prompt + ': ' , default: def }, cb)
}

0 comments on commit c029a2b

Please sign in to comment.