-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: return errors when building from strings
Fixes: #259 build_from() should only be used directly by unit tests. It would be private if it wasn't needed in other modules for testing purposes. It always returns an error. However, build(), which is called by main(), exits the program based on that error using clap. Signed-off-by: Adrian Moreno <[email protected]>
- Loading branch information
Showing
2 changed files
with
11 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters