Replace deprecated util.print function #275

merged 3 commits into from Dec 17, 2013


None yet
2 participants

nrstott commented Dec 10, 2013

No description provided.


nrstott commented Dec 11, 2013

When using jasmine-node with recent versions of node, console messages appear with calls to util.print asking you to use console.log instead. console.log inserts a new line so it was not a perfect drop-in replacement, therefore, I switched jasmine-node to use process.stdout.write. The util.format was necessary because without it, no output was generated.


tebriel commented Dec 17, 2013


tebriel added a commit that referenced this pull request Dec 17, 2013

Merge pull request #275 from nrstott/master
Replace deprecated util.print function

@tebriel tebriel merged commit c79fb7d into mhevery:master Dec 17, 2013

thisgeek referenced this pull request in thisgeek/jasmine-nodal Feb 27, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment