tools: update script references to 'main' branch

fix-hunspell-typos-042721
Owen Voke 2021-01-08 09:24:28 +00:00 committed by Starbeamrainbowlabs
parent a66723d2c5
commit 7d1e2e24ef
2 changed files with 3 additions and 3 deletions

View File

@ -5,6 +5,6 @@
- [ ] The page (if new), does not already exist in the repo.
- [ ] The page is in the correct platform directory (`common/`, `linux/`, etc.)
- [ ] The page has 8 or fewer examples.
- [ ] The PR title conforms to the recommended [templates](/tldr-pages/tldr/blob/master/CONTRIBUTING.md#commit-message).
- [ ] The page follows the [content guidelines](/tldr-pages/tldr/blob/master/CONTRIBUTING.md#guidelines).
- [ ] The PR title conforms to the recommended [templates](/tldr-pages/tldr/blob/main/CONTRIBUTING.md#commit-message).
- [ ] The page follows the [content guidelines](/tldr-pages/tldr/blob/main/CONTRIBUTING.md#guidelines).
- [ ] The page description includes a link to documentation or a homepage (if applicable).

View File

@ -49,7 +49,7 @@ function check_diff {
local line
local entry
git_diff=$(git diff --name-status --find-copies-harder --diff-filter=AC --relative=pages/ remotes/origin/master)
git_diff=$(git diff --name-status --find-copies-harder --diff-filter=AC --relative=pages/ remotes/origin/main)
if [ -n "$git_diff" ]; then
echo -e "Check PR: git diff:\n$git_diff" >&2