Skip to content

Commit

Permalink
use harness/ dir from current dir
Browse files Browse the repository at this point in the history
  • Loading branch information
smikes committed Feb 11, 2015
1 parent 626a715 commit b35c168
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 b35c168

Please sign in to comment.