Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Jul 10, 2024
1 parent 6da626f commit ad6c2f2
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions tools/cucumber.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,11 @@ directory=tmp/$(basename ${file%.*})
mkdir -p $directory
cd $directory

run() {
unset $(env | cut -d = -f 1 | grep -v -e PATH)

bundler exec cucumber \
--publish-quiet \
--strict-undefined \
--require ../../features \
${tags:+--tags "$tags"} \
../../$file
}

output=$(run 2>&1)
status=$?

echo "$output"

exit $status
unset $(env | cut -d = -f 1 | grep -v -e PATH)

bundler exec cucumber \
--publish-quiet \
--strict-undefined \
--require ../../features \
${tags:+--tags "$tags"} \
../../$file

0 comments on commit ad6c2f2

Please sign in to comment.