Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
16c2a727
Commit
16c2a727
authored
Dec 17, 2019
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make check_no_partial_karma_jest.sh not fail without ee/
parent
be09ae21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
scripts/frontend/check_no_partial_karma_jest.sh
scripts/frontend/check_no_partial_karma_jest.sh
+7
-1
No files found.
scripts/frontend/check_no_partial_karma_jest.sh
View file @
16c2a727
#!/usr/bin/env bash
#!/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
=
""
violations
=
""
for
karma_file
in
$karma_files
;
do
for
karma_file
in
$karma_files
;
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment