Skip to content
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

Current directory command line option -o c doesn't seem to be implemented. #15

Closed
punassuming opened this issue Mar 3, 2016 · 4 comments

Comments

@punassuming
Copy link

Looking at the source, I cannot see where the CurrentDirectory option is implemented, nor when I run the z -o c does it exclude directory paths outside of my current directory. I have a patch I can submit getting this to work if interested.

@badmotorfinger
Copy link
Owner

Sure thing. Pull request away.

@punassuming
Copy link
Author

This should be able to be closed once develop merges to master.

@badmotorfinger
Copy link
Owner

When issuing the z command with the clean parameter and there are no directories for cleaning, it generates the following error

System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Path' because it is null.
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

@badmotorfinger
Copy link
Owner

Enhancement is now part of the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants