-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[engine] Improve error messages when run in invalid directory
1. --var flags are not validated until after shac determines that the working directory is valid (i.e. contains a shac.star file). 2. If a shac.star file cannot be discovered via git, print the expected location of the shac.star file. 3. If a --var flag is specified but no shac.textproto file exists, use a slightly different error message to make it more clear that shac.textproto doesn't exist yet. Change-Id: I6bed59f60b73e9ecff0caec97c152f2f7ea94fb7 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/926852 Reviewed-by: Anthony Fandrianto <[email protected]> Fuchsia-Auto-Submit: Oliver Newman <[email protected]> Commit-Queue: Auto-Submit <[email protected]>
- Loading branch information
Showing
3 changed files
with
77 additions
and
24 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
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