Permalink
Browse files

Removed import of sys, use built-in console.log.

  • Loading branch information...
1 parent 4c522f7 commit 897dfe45e1a7564c17b39417d2bea4865cd32b84 @mde mde committed Nov 5, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/jake.js
View
@@ -20,7 +20,6 @@
var JAKE_VERSION = '0.1.6'
, jake
, args = process.argv.slice(2)
- , sys = require('sys')
, fs = require('fs')
, path = require('path')
, usage
@@ -308,7 +307,7 @@ jake = new function () {
* @param {String} str The message to print out before dying.
*/
this.die = function (str) {
- sys.puts(str);
+ console.log(str);
process.exit();
};

0 comments on commit 897dfe4

Please sign in to comment.