Skip to content

Commit

Permalink
updated JSHint URI
Browse files Browse the repository at this point in the history
in the process, replaced deprecated `util.print`
  • Loading branch information
FND committed Mar 15, 2014
1 parent 0671181 commit 0ca72cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wrapper.js
Expand Up @@ -7,7 +7,7 @@ var fs = require("fs"),
vm = require("vm"),
util = require("util");

var VERSION = "1.3.0";
var VERSION = "1.3.1";
var LINT = {
name: "JSLint",
filename: "jslint.js",
Expand All @@ -32,7 +32,7 @@ var main = function(args) {
LINT.name = "JSHint";
LINT.filename = "jshint.js";
LINT.root = "JSHINT";
LINT.source.path = "/jshint/jshint/master/jshint.js";
LINT.source.path = "/jshint/jshint/2.x/dist/jshint.js";
}
LINT.path = path.join(__dirname, LINT.filename);

Expand Down Expand Up @@ -103,7 +103,7 @@ var main = function(args) {
var pass = errors.length === 0;

if(!pass) {
util.print(errors.join("\n") + "\n");
console.log(errors.join("\n") + "\n");
if(verbose) {
process.stderr.write(String(errors.length) + " errors\n");
}
Expand Down

0 comments on commit 0ca72cd

Please sign in to comment.