Breaking Change on Copy Command
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.9k
- Forks
- 51
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 1
Description
Hello
I upgraded shx from version 0.3.4 to 0.4.0. I executed my shx command after the upgrade and an error occured with the following command:
shx cp C:\myDirectory\*.scss C:\otherDirectory
This is the exception:
[shx cp "C:\myDirectory\*.scss" "C:\otherDirectory"](cp: no such file or directory: C:/myDirectory/*.scss)
I think the problem in the command is *.scss. I only want to copy the scss Files in the myDirectory folder.
How can I do that in the current verion? This command worked in the 0.3.4 version.
Regards
Fabio
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing shx cp C:\myDirectory\*.scss C:\otherDirectory on version 0.4.0, then compare it with 0.3.4 to identify the change in wildcard handling. Inspect the shx cp command path; done means SCSS files copy successfully on Windows and the regression is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100