Skip to content

Commit 9f46229

Browse files
committed
Fix syntax error when running behat
1 parent db160d8 commit 9f46229

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

shell/default-aliases.sh

-14
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,6 @@ install_behat() {
180180

181181
version=$(totara_version major)
182182

183-
# Make sure this is a supported Totara version
184-
if [[ $(echo "$version <= 2.5 && $version != \"evergreen\"" | bc -l) == '1' ]]; then
185-
print_error "This script doesn't currently support Totara 2.5 or earlier."
186-
print_info "If you know how to make it work, please contribute a solution."
187-
return 1
188-
fi
189-
190183
local parallel_count=$(behat_parallel_count)
191184
if [[ $parallel_count != '0' || "$*" =~ "--parallel" ]]; then
192185
print_info "Initialising behat in parallel mode"
@@ -207,13 +200,6 @@ behat() {
207200

208201
version=$(totara_version major)
209202

210-
# Make sure this is a supported Totara version
211-
if [[ $(echo "$version <= 2.5 && $version != \"evergreen\"" | bc -l) == '1' ]]; then
212-
print_error "This script doesn't currently support Totara 2.5 or earlier."
213-
print_info "If you know how to make it work, please contribute a solution."
214-
return 1
215-
fi
216-
217203
# Behat.yml variables
218204
local behat_dataroot=$(config_var behat_dataroot)
219205
local behat_dataroot_yml="$behat_dataroot/behat/behat.yml"

0 commit comments

Comments
 (0)