Permalink
Browse files

Merge pull request #110 from node-migrator-bot/clean

Hi! I fixed some calls to "sys" for you!
  • Loading branch information...
2 parents 6d92182 + ebdd5ce commit fdcabcb2696ad4bbdfbcb11c2110f7ba3baee45f @ciaranj committed Apr 11, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 examples/oauthclientapp.js
  2. +1 −1 spec/lib/jspec.js
  3. +1 −1 spec/node.js
@@ -17,7 +17,7 @@ app.use(connect.logger())
.use(connect.session())
.use ('/oauth/callback', function(req, res, params) {
var parsedUrl= url.parse(req.originalUrl, true);
- console.log(require('sys').inspect(req.session))
+ console.log(require('util').inspect(req.session))
oa.getOAuthAccessToken(parsedUrl.query.oauth_token, req.session.oauth_token_secret, parsedUrl.query.oauth_verifier,
function(error, oauth_access_token, oauth_access_token_secret, results) {
oa.getProtectedResource("http://localhost:3000/fetch/unicorns", "GET", oauth_access_token, oauth_access_token_secret, function(error, data){
View
@@ -1522,7 +1522,7 @@
error : function(message, e) {
if ('stack' in e)
- require('sys').puts(e.stack + '\n')
+ require('util').puts(e.stack + '\n')
throw (message ? message : '') + e.toString() +
(e.line ? ' near line ' + e.line : '')
},
View
@@ -7,7 +7,7 @@ require("express")
require("express/spec")
require("express/plugins")
-print = require('sys').puts
+print = require('util').puts
quit = process.exit
readFile = require('fs').readFileSync

0 comments on commit fdcabcb

Please sign in to comment.