Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(chezmoi): Properly use default branch
`yq` outputs "null" string when no results are found, so it's not an empty string. Branch "null" is passed as custom branch, which very likely doesn't exist in user's chezmoi repo. So to solve this issue, set "if string is empty or contains string "null", disable custom branch, otherwise enable"
- Loading branch information
a166afe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...and I've just discovered this in my fresh custom install 😅 Thanks for the fix!
a166afe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
welp, it's still not fixed :D A PR incoming.