ci: suggest to use hidden_unless_forced() (#31321)
* ci: suggest to use hidden_unless_forced() * shellcheck...
This commit is contained in:
parent
bd782634dc
commit
6f9a15c36b
|
@ -41,6 +41,12 @@ if _ git --no-pager grep -n "${prints[@]/#/-e}" -- "${print_free_tree[@]}"; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Ref: https://github.com/solana-labs/solana/pull/30843#issuecomment-1480399497
|
||||||
|
if _ git --no-pager grep -F '.hidden(true)' -- '*.rs'; then
|
||||||
|
echo 'use ".hidden(hidden_unless_forced())" instead'
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Github Issues should be used to track outstanding work items instead of
|
# Github Issues should be used to track outstanding work items instead of
|
||||||
# marking up the code
|
# marking up the code
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue