Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bubble up the errback

  • Loading branch information...
commit f55eeda11b8be4bc9a1841e4cb9ae6042dbd171f 1 parent 38bc8c7
@substack authored
Showing with 3 additions and 1 deletion.
  1. +2 −0  index.js
  2. +1 −1  package.json
View
2  index.js
@@ -33,6 +33,8 @@ function transform (context, src, cb) {
pending ++;
res(function (err, s_) {
+ if (err) return cb(err);
+
var pos = computePos(node, src);
var indent = computeIndent(node, src);
node.update(stringify(s_, pos, indent));
View
2  package.json
@@ -1,6 +1,6 @@
{
"name" : "prompter",
- "version" : "0.0.4",
+ "version" : "0.0.5",
"description" : "create json files, prompting for input and evaluating expressions",
"main" : "index.js",
"bin" : {
Please sign in to comment.
Something went wrong with that request. Please try again.