Permalink
Browse files

the issue was one JSONStream change

  • Loading branch information...
1 parent 1856ebb commit bd58ef3775bc68c7a6d7ba9367e7c4b5ccc3df10 @orlin orlin committed Aug 20, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 bin/precious.coffee
  2. +1 −1 test/mocha/ephemeris.spec.coffee
View
@@ -68,7 +68,7 @@ if args.length > 0 then switch args[0]
process.stdin.setEncoding("utf8")
# A good parser.
- parser = JSONStream.parse /./
+ parser = JSONStream.parse true
process.stdin.pipe parser
parser.on "error", (err) ->
@@ -76,7 +76,7 @@ describe "cli", ->
| bin/precious.js - | #{jsontool0}"
], (err, stdouts) ->
for result in stdouts
- results.push JSON.parse result
+ results.push json.parse result
# Properties get reordered for some reason.
delete results[results.length-1]["0"]["re"]
done()

0 comments on commit bd58ef3

Please sign in to comment.