-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option not recognized #556
Comments
The option should be recognized. If not, this is a bug. But why would you have code like that? I don't think it's going to do what you think it will... |
I am trying to list the directories in the current directory and check the names of them. |
Just use |
Can't reproduce this on Linux, and I see no reason why it would only repro on Mac OS. I'll try to repro on Mac OS tomorrow. |
@freitagbr can you reproduce this? I won't be able to look at this on my mac. |
@nfischer I am able to use the command you sent. ls('-d', '*/') For whatever reason, I am now unable to replicate what was happening before using ls('-d', './'). |
@embrown30 from our docs:
So if you use When in doubt, unix man pages can also help clarify ambiguities, since we strive for POSIX compliance where it makes sense. Hope this helps! |
I tested with ShellJS at 0.7.5 and node at 6.4.0, and I could not reproduce. Maybe there was a globally installed version being used, instead of a locally installed version. For reference, the |
Node version (or tell us if you're using electron or some other framework):
v6.4.0
ShellJS version (the most recent version/Github branch you see the bug on):
0.7.5
Operating system:
Mac OS Yosemite
Description of the bug:
Getting option not recognized when running ls -d
Example ShellJS command to reproduce the error:
The text was updated successfully, but these errors were encountered: