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 was archived by the owner on Jun 24, 2025. It is now read-only.
So that makes opts.base equal to the actual filename, which makes vinyl.relative an empty string. Especially bad since vinyl-fs uses relative in dest, so the file will be written to whatever string was given to dest.
Noticed this when using 4.1.0 and logging didn't display anything for the matched filename.
Temporary fix: explicitly provide base for any non-glob paths.
The issue is here.
You're using glob-parent to get the base if one isn't explicitly set, but glob-parent doesn't work properly on non-glob paths.
So that makes
opts.baseequal to the actual filename, which makesvinyl.relativean empty string. Especially bad since vinyl-fs uses relative in dest, so the file will be written to whatever string was given to dest.Noticed this when using 4.1.0 and logging didn't display anything for the matched filename.
Temporary fix: explicitly provide base for any non-glob paths.