Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Temporary hot fix for compatability with linux systems.

  • Loading branch information...
commit e5702f5386854d4582b6dfcdacdbd38fabd75590 1 parent 441aeb1
Matthew Smith authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/jasmine-node/requirejs-runner.js
View
4 lib/jasmine-node/requirejs-runner.js
@@ -22,7 +22,7 @@ exports.executeJsRunner = function(specCollection, done, jasmineEnv) {
},
buildRelativeDirName = function(dir){
var retVal = "",
- thisDir = process.cwd();//.replace(/.:/, '\\c').split('\\'),
+ thisDir = process.cwd(),
toDir = dir.split('/'),
index = 0,
colonMatches = __dirname.match(/^.:/);
@@ -35,7 +35,7 @@ exports.executeJsRunner = function(specCollection, done, jasmineEnv) {
for(; index < thisDir.length || index < toDir.length; index++) {
if(thisDir[index] != toDir[index]){
- for(var i = index; i < thisDir.length; i++){
+ for(var i = index; i < thisDir.length-1; i++){
retVal += '../';
}
Please sign in to comment.
Something went wrong with that request. Please try again.