Permalink
Browse files

Using walkdir instead of findit means that it works on windows.

  • Loading branch information...
kybernetikos committed Mar 30, 2012
1 parent f3fb960 commit 714a9ad8c424c152c7e9dfb14cdd9d7283370791
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/jasmine-node/spec-collection.js
@@ -1,4 +1,4 @@
-var findit = require('findit');
+var walkdir = require('walkdir');
var path = require('path');
var fs = require('fs');
var specs = [];
@@ -15,7 +15,7 @@ var createSpecObj = function(path, root) {
exports.load = function(loadpath, matcher) {
- var wannaBeSpecs = findit.sync(loadpath)
+ var wannaBeSpecs = walkdir.sync(loadpath)
for (var i = 0; i < wannaBeSpecs.length; i++) {
var file = wannaBeSpecs[i];

0 comments on commit 714a9ad

Please sign in to comment.