Closed phated closed 7 years ago
If base
after normalization equals cwd
, it should result in delete this._base;
so the getter can default to this._cwd
. Not doing anything there is definitely a bug.
@darsain cool, thanks for looking at that. It felt like a bug but I wasn't sure.
I just ran into this while working on
vinyl-sourcemap
: if someone doesfile.base = file.cwd
, what should the resulting behavior be? Currently we don't do anything due to the check at https://github.com/gulpjs/vinyl/blob/master/index.js#L215cc @darsain