Skip to content

file_systems: throw when no glob match or ENOENT

When a glob does not match, glob.sync will return an empty list. What it should do is throw instead because it is unlikely to be the expected outcome.

While we're at it, also throw when the file is not a globl and does not exist because it also is unlikely to be what is wanted.

Merge request reports