-
Notifications
You must be signed in to change notification settings - Fork 744
Copying hidden files fails on Windows 10 #711
Copy link
Copy link
Closed
Description
Node version (or tell us if you're using electron or some other framework):
v6.9.5
ShellJS version (the most recent version/Github branch you see the bug on):
shelljs 0.7.7 via shx 0.2.2
Operating system:
Windows 10 64-bit
Description of the bug:
On Windows trying to copy files in a directory that contain only a single file named .nojekyll results in error:
cp: no such file or directory: Documents/DocumentsRoot/*
Directory structure:
/gh-pages/
/Documents/DocumentsRoot/.nojekyll
command run: shx cp Documents/DocumentsRoot/* gh-pages
The following comment specifies that should be fixed:
#140 (comment)
But I still have to do the workaround of including a . before the wildcard like:
shx cp Documents/DocumentsRoot/.* gh-pages
I see the behavior both with and without the -r flag when using shx. Have not tried using shelljs directly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels