mirror of https://github.com/CrimsonTome/tldr.git
scripts/check-pr: check only for English pages (#11980)
parent
e3f7dd2ca5
commit
b2f0fb4c04
|
@ -28,6 +28,12 @@ function check_duplicates {
|
|||
|
||||
readarray -td'/' parts < <(echo -n "$page")
|
||||
|
||||
local language_folder=${parts[0]}
|
||||
|
||||
if [[ "$language_folder" != "pages" ]]; then # only check for duplicates in English
|
||||
return 1
|
||||
fi
|
||||
|
||||
local platform=${parts[1]}
|
||||
local file=${parts[2]}
|
||||
|
||||
|
|
Loading…
Reference in New Issue