Permalink
Browse files

Allow --one to take partial path names (they will be path.resolve()d

  • Loading branch information...
1 parent 1992608 commit 9a0e7176988a102f33aa55f038fc25f30cbacd0d @nornagon committed Mar 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/zap
View
@@ -36,7 +36,7 @@ if (process.argv[2] === '--one') {
process.reallyExit(1)
}
})
- var suite = require(process.argv[3])
+ var suite = require(path.resolve(process.argv[3]))
var context = {}
if (suite.setup) {
suite.setup.call(context, test)

0 comments on commit 9a0e717

Please sign in to comment.