-
Notifications
You must be signed in to change notification settings - Fork 566
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
Should get-file
and delete-file
error if the file DNE?
#1475
Comments
|
Is this for 1.3 or 1.4? The part about |
v1.3 I think. In v1.4 it returns with |
Copying
|
not sure how we deal with recursive deletes or directories, though (but likely differently than |
Recently w customer installations we've seen more usage of the go CLI for scripting. It's important for these commands to use meaningful exit codes. |
|
get-file
anddelete-file
just return silently if they try to act on a file that doesn't exist. What should be the desired behavior in this case?get-file
should certainly error IMO.delete-file
I'm not 100% sure about. The file they tried to delete isn't there, so that's good, but more likely than not the user has a typo and was trying to delete something else.The text was updated successfully, but these errors were encountered: