Skip to content

Difference behavior for dot files on windows and linux #159

Closed
@alexander-akait

Description

@alexander-akait

Environment

  • OS Version: windows/linux
  • Node.js Version: 8.15.0

Actual behavior

We have file directory/.dottedfile

pattern - {file.txt,noextension,directory/**/*}

On linux - file founded
On windows - no

https://ci.appveyor.com/project/webpack-contrib/copy-webpack-plugin/builds/22457587/job/y5320ckr1fvs6r67

Expected behavior

Founded on linux and windows, or provide documentation why it is doesn't work and/or how can be fixed

Steps to reproduce

Below

Code sample

fg(['{file.txt,noextension,directory/**/*}'], { dot: true }).then((entries) => console.log(entries));

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions