playcanvas-sync icon indicating copy to clipboard operation
playcanvas-sync copied to clipboard

It is hard to detect a user error externally for pcsync rename since the return code is 0

Open querielo opened this issue 3 years ago • 0 comments

It is hard to detect if a pcsync command is done since wrapUserErrors does not cause the program returns non-zero code.

For example, pcsync rename lalalilolu.txt lalelilolu.txt always returns 0 even if lalalilolu.txt does not exist. And you have to parse stdout to detect the issue.

querielo avatar Jul 05 '22 12:07 querielo