From a5515b130c2c6cfb1f35ab1e260d0ce32ef3c3bf Mon Sep 17 00:00:00 2001 From: Yukai Chou Date: Tue, 5 Dec 2023 23:24:12 +0800 Subject: [PATCH] Replace undocumented flag in PR template Flag `--new-cask` is not listed in manpage for `brew audit`, and from implementation it's the same as `--new` and `--new-formula`. For cask tap, `--cask --new` is better. See - https://docs.brew.sh/Manpage#audit-options-formulacask- - https://github.com/Homebrew/brew/blob/4.1.23/Library/Homebrew/dev-cmd/audit.rb --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 22d51442c1..53e2059e38 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -13,6 +13,6 @@ Additionally, **if adding a new cask**: - [ ] Named the cask according to the [token reference](https://docs.brew.sh/Cask-Cookbook#token-reference). - [ ] Checked the cask was not [already refused](https://github.com/Homebrew/homebrew-cask/search?q=is%3Aclosed&type=Issues). - [ ] Checked the cask is submitted to [the correct repo](https://docs.brew.sh/Acceptable-Casks#finding-a-home-for-your-cask). -- [ ] `brew audit --new-cask ` worked successfully. +- [ ] `brew audit --cask --new ` worked successfully. - [ ] `brew install --cask ` worked successfully. - [ ] `brew uninstall --cask ` worked successfully.