question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Difference behavior for dot files on windows and linux

See original GitHub issue

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));

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mrmlnccommented, Mar 20, 2019

I suggest we relocate discussion to the Picomatch repository. It seems that in this ticket we had to talk about curly braces.

https://github.com/micromatch/picomatch/issues/7

1reaction
mrmlnccommented, Mar 18, 2019

Sorry guys, I don’t have free time right now. I’ll be back as soon as I can. Add a record to the ToDo.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding the differences between Linux and Windows files
Simply put, a Linux hidden file begins with a period (.), which is where the term “dot file” comes from, and can be...
Read more >
differences in python path handling with trailing dot ...
Linux doesn't have filename extensions, so the trailing . is a valid part of the filename and must be preserved.
Read more >
Dotfiles – What is a Dotfile and How to Create it in Mac and ...
Dotfiles are configuration files for various programs, and they help those programs manage their functionality. What sets them apart from ...
Read more >
Linux History: How Dot Files Became Hidden Files
Ever wondered why there are files on your Linux system, starting with a dot? The short answer: they are shortcuts. The story begins...
Read more >
Hidden file and hidden directory - Wikipedia
config), commonly called a dot file or dotfile, is to be treated as hidden – that is, the ls command does not display...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found