-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix error when choice variables are set in flags and config file
- Loading branch information
Showing
3 changed files
with
35 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# test that chezmoi add --secrets=ignore succeeds when the add.secrets config variable is set to error | ||
exec chezmoi add --secrets=ignore $HOME${/}.secret | ||
! stderr . | ||
|
||
-- home/user/.config/chezmoi/chezmoi.toml -- | ||
[add] | ||
secrets = "error" | ||
-- home/user/.secret -- | ||
AWS_ACCESS_KEY_ID=AKIA0123456789ABCDEF |