linkedin/inject — pull request #123 by fsimeon (2012-06-01 18:09:19+00:00)
Title: #116 applyRules: a resolved relative path continues through stack 

__ I need help testing this before pulling this into the trunk __

Issue was a combination on line 1147 and 1156 clobbering the code

``` if(typeof userConfig.moduleRoot === "string" ) {
workingPath = "" + userConfig.moduleRoot + workingPath

if(typeof relativePath === "string" && absolutePathRegex.test(workingPath) !== true) {
workingPath = basedir(relativePath) + moduleId
}
```

I updated the relativePathRegex also to account for paths that don't have an initial '/'