Skip to content

Glob error with windows UNC Paths #32

@Ebsy

Description

@Ebsy

Hi, trying to use a Windows UNC path in 'files' e.g.
{'files': '//SERVER/share/directory/file.txt'}

replace-in-file returns an error that no file exists with this glob pattern.
using fs.access for this path is no problem. I believe it is an issue with node-glob.

Would it be possible for replace-in-file to contain an option to not use glob if the file doesn't contain regex wildcards?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions