Skip to content

Commit

Permalink
fix windows path
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Cataldo committed Aug 10, 2015
1 parent a476bb2 commit 1f4c615
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ grunt.registerTask('test', ['connect', 'mocha_phantomjs']);

## Release History

* 2015-09-09   v1.0.1   fix issue when using --color=false
* 2015-09-09   v1.0.1   Fix path to phantomjs binary on windows
* 2015-09-09   v1.0.1   Fix issue when using --color=false
* 2015-07-16   v1.0.0   *BREAKING* use mocha-phantomjs-core
* 2015-07-16   v0.7.0   Upgrade mocha-phantomjs to 3.6.0
* 2015-07-15   v0.6.2   Lock down phantomjs to match mocha-phantomjs peerDependency
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "grunt-mocha-phantomjs",
"description": "Run client-side mocha tests using phantomjs",
"version": "1.0.1",
"version": "1.0.2",
"homepage": "https://github.com/jdcataldo/grunt-mocha-phantomjs",
"author": {
"name": "Justin Cataldo",
Expand Down
2 changes: 1 addition & 1 deletion tasks/mocha_phantomjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = function(grunt) {
config = _.extend({ useColors: true }, options.config),
files = this.filesSrc,
args = [],
phantomPath = lookup('phantomjs/bin/phantomjs', true),
phantomPath = lookup('.bin/phantomjs', true),
mochaPhantomPath = lookup('mocha-phantomjs-core/mocha-phantomjs-core.js'),
urls = options.urls.concat(this.filesSrc),
done = this.async(),
Expand Down

0 comments on commit 1f4c615

Please sign in to comment.