You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 21, 2021. It is now read-only.
Stuff like gulp also supports a base (often similar to cwd) of files.
In gulp, files are read from globs (say foo/bar/**/*.js). The base is the stuff before the glob starts (so foo/bar/). And in gulp, when writing files to another folder (baz), the base is stripped and the given folder is used before the matched file (such as baz/qux.js and baz/qux/quux.js).
I feel that currently .cwd is used where actually a .base would be more apt.
The text was updated successfully, but these errors were encountered:
Stuff like gulp also supports a base (often similar to cwd) of files.
In gulp, files are read from globs (say
foo/bar/**/*.js
). The base is the stuff before the glob starts (sofoo/bar/
). And in gulp, when writing files to another folder (baz
), the base is stripped and the given folder is used before the matched file (such asbaz/qux.js
andbaz/qux/quux.js
).I feel that currently
.cwd
is used where actually a.base
would be more apt.The text was updated successfully, but these errors were encountered: