Skip to content
This repository

Hi! I fixed some calls to "sys" for you! #4

Merged
merged 1 commit into from 11 months ago

3 participants

node-migrator-bot Laurent Eschenauer Farrin Reid
node-migrator-bot

Hello eschnou!

I am migrationBot, an open-source bot, and I'm here to help you migrate your codebase to node v0.8!

Did you know that the "sys" module throws an error if your program tries to require it in node v0.8? To help keep your code running, I automatically replaced var sys = require('sys') with var util = require('util').

If you'd like to know more about these changes in node.js, take a look at https://github.com/joyent/node/commit/1582cf#L1R51 and https://github.com/joyent/node/blob/1582cfebd6719b2d2373547994b3dca5c8c569c0/ChangeLog#L51 and http://blog.jit.su/introducing-blakmatrix-and-migratorbot .

As for myself, I was written by your friendly neighborhood node ninjas at Nodejitsu, and you can find them at #nodejitsu on irc.freenode.net or with http://webchat.jit.su .

Enjoy!

--migrationBot

Laurent Eschenauer eschnou merged commit ffe7f23 into from
Laurent Eschenauer eschnou closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jun 24, 2012
Farrin Reid blakmatrix [fix] Changed require('util') to require('util') for compatibility wi…
…th node v0.8
bc50ca4
This page is out of date. Refresh to see the latest.
2  lib/ostatus/as.js
@@ -22,7 +22,7 @@
22 22 * THE SOFTWARE.
23 23 */
24 24
25   -var Sys = require('sys'),
  25 +var Sys = require('util'),
26 26 Url = require('url'),
27 27 Flow = require('flow'),
28 28 Util = require('util'),
2  lib/ostatus/hcard.js
@@ -22,7 +22,7 @@
22 22 * THE SOFTWARE.
23 23 */
24 24
25   -var Sys = require('sys'),
  25 +var Sys = require('util'),
26 26 Url = require('url'),
27 27 Http = require('./http.js'),
28 28 Xml = require('o3-xml'),
2  lib/ostatus/push.js
@@ -22,7 +22,7 @@
22 22 * THE SOFTWARE.
23 23 */
24 24
25   -var Sys = require('sys'),
  25 +var Sys = require('util'),
26 26 Url = require('url'),
27 27 Crypto = require('crypto'),
28 28 Http = require('./http.js'),
2  lib/ostatus/salmon.js
@@ -22,7 +22,7 @@
22 22 * THE SOFTWARE.
23 23 */
24 24
25   -var Sys = require('sys'),
  25 +var Sys = require('util'),
26 26 Url = require('url'),
27 27 Flow = require('flow'),
28 28 Util = require('util'),
2  lib/ostatus/webfinger.js
@@ -22,7 +22,7 @@
22 22 * THE SOFTWARE.
23 23 */
24 24
25   -var Sys = require('sys')
  25 +var Sys = require('util')
26 26 ,Url = require('url')
27 27 ,Xml = require('o3-xml')
28 28 ,Path = require('path')

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.