mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
tools: Rename force argument to skip-provision-check
This commit renames --force argument used with various tests to --skip-provision-check. As a consequence of this name change all other files that set --force option for the test commands have been updated. This change is done in order to provide more clarity for using this option for runnning tests. This commit addresses issue #17455.
This commit is contained in:
committed by
Tim Abbott
parent
ca515e5583
commit
911c5f19f1
@@ -19,10 +19,10 @@ if [ ${#changed_files} -eq 0 ]; then
|
||||
fi
|
||||
|
||||
if [ -z "$VIRTUAL_ENV" ] && command -v vagrant >/dev/null && [ -e .vagrant ]; then
|
||||
vcmd="/srv/zulip/tools/lint --skip=gitlint --force $(printf '%q ' "${changed_files[@]}") || true"
|
||||
vcmd="/srv/zulip/tools/lint --skip=gitlint --skip-provision-check $(printf '%q ' "${changed_files[@]}") || true"
|
||||
echo "Running lint using vagrant..."
|
||||
vagrant ssh -c "$vcmd"
|
||||
else
|
||||
./tools/lint --skip=gitlint --force "${changed_files[@]}" || true
|
||||
./tools/lint --skip=gitlint --skip-provision-check "${changed_files[@]}" || true
|
||||
fi
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user