Skip to content

Commit

Permalink
fix(jshint): restored earlier version of JSHint and restored type-loa…
Browse files Browse the repository at this point in the history
…der module loading
  • Loading branch information
jeffbcross committed May 23, 2014
1 parent a3e24b0 commit e9ac318
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions lib/type-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ module.exports = function loadTypes(basepath, fn) {
types[c.name] = c;
}
} catch(e) {
/**
* (@jeffbcross): Why should this exit the process? Should not
* restrict an app to only including deployd resources...
* unless I'm missing something.
*/
console.error();
console.error("Error loading module node_modules/" + file);
console.error(e.stack || e);
if(process.send) process.send({moduleError: e || true});
process.exit(1);
}

if(remaining === 0) {
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@
"chai": "*",
"dox": "*",
"grunt": "~0.4.1",
"grunt-contrib-jshint": "^0.9.2",
"grunt-contrib-jshint": "^0.1.1",
"grunt-contrib-less": "~0.5.2",
"jshint": "*",
"less": "*",
"mocha": "*",
"node-markdown": "*",
Expand Down

0 comments on commit e9ac318

Please sign in to comment.