From 5ce84970b86c1deca2906fa64a20d6bfcb12cc2a Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Tue, 18 May 2021 14:34:17 -0700 Subject: [PATCH] docs: use '' placeholder in Cask-Cookbook Co-authored-by: Rylan Polster --- docs/Cask-Cookbook.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Cask-Cookbook.md b/docs/Cask-Cookbook.md index 47b5e4d37c..1760494f03 100644 --- a/docs/Cask-Cookbook.md +++ b/docs/Cask-Cookbook.md @@ -303,7 +303,7 @@ The [`find-appcast`](https://github.com/Homebrew/homebrew-cask/blob/HEAD/develop | key | value | | --------------- | ----------- | -| `must_contain:` | a custom string for `brew audit --appcast ` to check against. | +| `must_contain:` | a custom string for `brew audit --appcast ` to check against. | Sometimes a `version` doesn’t match a string on the webpage, in which case we tweak what to search for. Example: if `version` is `6.26.1440` and the appcast’s contents only show `6.24`, the check for “is `version` in the appcast feed” will fail. With `must_contain`, the check is told to “look for this string instead of `version`”. In the example, `must_contain: version.major_minor` is saying “look for `6.24`”, making the check succeed.