assetgraph/assetgraph — pull request #190 by Munter (2014-06-02 09:25:31+00:00)
Title: Make writeAssetsToDisc more intuitive

This ensures the outroot is a proper file path before handing it off to a function that strips the first few chars based on the assumption of it starting with `file://`.

It's not possible to pass a string as `outRoot`, which will be treated as a relative path to `Process.cwd()` if it doesn't start with `file://`.