Skip to content

Commit

Permalink
Merge pull request #29 from smikes/7-use-currentdir-helpers
Browse files Browse the repository at this point in the history
use harness/ dir from current dir
  • Loading branch information
bterlson committed Feb 14, 2015
2 parents 2ba3c20 + b35c168 commit 6b12c10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ var fs = require('fs');
var parseFile = require('test262-parser').parseFile;
var helperDir = __dirname + '/helpers/';

if (fs.existsSync('test/harness')) {
helperDir = 'test/harness/';
if (fs.existsSync('harness/')) {
helperDir = 'harness/';
}

fs.readdirSync(helperDir)
Expand Down

0 comments on commit 6b12c10

Please sign in to comment.