Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

Commit

Permalink
change require from path to fs
Browse files Browse the repository at this point in the history
  • Loading branch information
bthesorceror committed Aug 24, 2012
1 parent b2a2674 commit 69e9572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/jessie/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.