You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ You may see old code that doesn't adhere to these guidelines, but all new code m
54
54
### Command registry
55
55
#### General
56
56
* Execute a command's code mostly in a dedicated method, rather than in the `register` method
57
-
* If the command was successful and there isn't something sensible to return, it should `return 0`. If the command was not successful, an exception should be thrown
57
+
* If the command was successful and there isn't something sensible to return, it should `return Command.SINGLE_SUCCESS`. If the command was not successful, an exception should be thrown
58
58
#### Exceptions
59
59
* Exception variables are [immutable constants](#immutable-constants)
0 commit comments