Permalink
Browse files

change require from path to fs

  • Loading branch information...
1 parent b2a2674 commit 69e95725131ddad0129318edcbf036a2ba554a6f @bthesorceror bthesorceror committed Aug 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/jessie/runner.js
View
@@ -6,10 +6,10 @@ exports.runner = function(args, options, callback) {
var specs = this.finder.find(args, process.cwd())
var runner = this;
var spec_helper = process.cwd() + '/spec/spec_helper.js'
- if (require('path').existsSync(spec_helper))
+ if (require('fs').existsSync(spec_helper))
require(spec_helper)
specs.forEach(function(spec) { require(spec); })
this.jasmine.reporter = this.reporter
this.jasmine.execute()
}
-}
+}

0 comments on commit 69e9572

Please sign in to comment.