{"action":"opened","issue":{"url":"https://api.github.com/repos/vincpa/z/issues/20","repository_url":"https://api.github.com/repos/vincpa/z","labels_url":"https://api.github.com/repos/vincpa/z/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/vincpa/z/issues/20/comments","events_url":"https://api.github.com/repos/vincpa/z/issues/20/events","html_url":"https://github.com/vincpa/z/issues/20","id":143790930,"number":20,"title":"Issuing a z -clean command when there are no directories to clean generates an error","user":{"login":"vincpa","id":441719,"avatar_url":"https://avatars.githubusercontent.com/u/441719?v=3","gravatar_id":"","url":"https://api.github.com/users/vincpa","html_url":"https://github.com/vincpa","followers_url":"https://api.github.com/users/vincpa/followers","following_url":"https://api.github.com/users/vincpa/following{/other_user}","gists_url":"https://api.github.com/users/vincpa/gists{/gist_id}","starred_url":"https://api.github.com/users/vincpa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincpa/subscriptions","organizations_url":"https://api.github.com/users/vincpa/orgs","repos_url":"https://api.github.com/users/vincpa/repos","events_url":"https://api.github.com/users/vincpa/events{/privacy}","received_events_url":"https://api.github.com/users/vincpa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-27T09:11:10Z","updated_at":"2016-03-27T09:11:10Z","closed_at":null,"body":"When issuing the z command with the clean parameter and there are no directories for cleaning, it generates the following error\r\n\r\nSystem.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Path' because it is null.\r\n   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)\r\n   at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)\r\n   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)\r\n   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)"}}