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
79b27c02
Commit
79b27c02
authored
Sep 30, 2021
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't cleanup frontend fixtures before generating them
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
cd1ea9b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
spec/support/helpers/javascript_fixtures_helpers.rb
spec/support/helpers/javascript_fixtures_helpers.rb
+2
-4
No files found.
spec/support/helpers/javascript_fixtures_helpers.rb
View file @
79b27c02
...
...
@@ -29,11 +29,9 @@ module JavaScriptFixturesHelpers
#
# directory_name - directory of the fixtures (relative to .fixture_root_path)
#
# TODO: Make sure this isn't called anymore.
def
clean_frontend_fixtures
(
directory_name
)
full_directory_name
=
File
.
expand_path
(
directory_name
,
fixture_root_path
)
Dir
[
File
.
expand_path
(
'*.{html,json,md}'
,
full_directory_name
)].
each
do
|
file_name
|
FileUtils
.
rm
(
file_name
)
end
# We don't really need to cleanup fixtures, as this can be a problem when FOSS & EE fixtures try to generate files in the same folder.
end
def
remove_repository
(
project
)
...
...
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