Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit d9be90f

Browse files
committed
Revert to existing code to avoid failing in ruby 2.5
See: rspec/rspec-dev@3f380ca
1 parent f34255c commit d9be90f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script/functions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2018-02-27T14:33:33+01:00 from the rspec-dev repo.
1+
# This file was generated on 2018-01-02T08:14:15-08:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
@@ -180,7 +180,7 @@ function check_documentation_coverage {
180180

181181
function check_style_and_lint {
182182
echo "bin/rubocop lib"
183-
bin/rubocop lib
183+
eval "(unset RUBYOPT; exec bin/rubocop lib)"
184184
}
185185

186186
function run_all_spec_suites {

0 commit comments

Comments
 (0)