Besides, it shouldn't be necessary to ask for `pathDepth > 0`. If `pathDepth` is 0 then the body of the `for [0...pathDepth]` loop won't execute.

```coffeescript
sourceRoot += "../" for [0...pathDepth]
```

Or, if `pathDepth` is not used anywhere else, maybe:

```coffeescript
sourceRoot += "../" while pathDepth--
```