Commit 64edc4d5 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'winh-partial-karma-foss' into 'master'

Make check_no_partial_karma_jest.sh not fail without ee/

See merge request gitlab-org/gitlab!21914
parents 4e8a7892 16c2a727
#!/usr/bin/env bash
karma_files=$(find spec/javascripts ee/spec/javascripts -type f -name '*_spec.js' -not -path '*/helpers/*')
karma_directory=spec/javascripts
if [ -d ee ]; then
karma_directory="$karma_directory ee/$karma_directory"
fi
karma_files=$(find $karma_directory -type f -name '*_spec.js' -not -path '*/helpers/*')
violations=""
for karma_file in $karma_files; do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment