Skip to content

Commit 8ade32a

Browse files
luke-hillbarancev
authored andcommitted
Comment out 2 top level mappings crazy fun builders
If this doesn't crash CI we can remove over 500 LOC
1 parent c2de389 commit 8ade32a

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
module CrazyFun
2-
module Mappings
3-
class ExportMappings
4-
# TODO: LH - Check the usage of this. It seems it isn't consumed
5-
# If so all downstream fun mappings (Export::), can be removed
6-
def add_all(fun)
7-
fun.add_mapping("export_file", Export::CheckPreconditions.new)
8-
fun.add_mapping("export_file", Export::CreateTask.new)
9-
fun.add_mapping("export_file", Export::AddDependencies.new)
10-
end
11-
end
12-
end
13-
end
1+
# module CrazyFun
2+
# module Mappings
3+
# class ExportMappings
4+
# # TODO: LH - Check the usage of this. It seems it isn't consumed
5+
# # If so all downstream fun mappings (Export::), can be removed
6+
# def add_all(fun)
7+
# fun.add_mapping("export_file", Export::CheckPreconditions.new)
8+
# fun.add_mapping("export_file", Export::CreateTask.new)
9+
# fun.add_mapping("export_file", Export::AddDependencies.new)
10+
# end
11+
# end
12+
# end
13+
# end

rake_tasks/crazy_fun/mappings/folder_mappings.rb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
# ],
1111
# out = "outputfolder")
1212

13-
module CrazyFun
14-
module Mappings
15-
class FolderMappings
16-
# TODO: LH - Check the usage of this. It seems it isn't consumed
17-
# If so all downstream fun mappings (Folder::), can be removed
18-
def add_all(fun)
19-
fun.add_mapping("folder", Folder::CheckPreconditions.new)
20-
fun.add_mapping("folder", Folder::CreateTask.new)
21-
fun.add_mapping("folder", Folder::AddDependencies.new)
22-
end
23-
end
24-
end
25-
end
13+
# module CrazyFun
14+
# module Mappings
15+
# class FolderMappings
16+
# # TODO: LH - Check the usage of this. It seems it isn't consumed
17+
# # If so all downstream fun mappings (Folder::), can be removed
18+
# def add_all(fun)
19+
# fun.add_mapping("folder", Folder::CheckPreconditions.new)
20+
# fun.add_mapping("folder", Folder::CreateTask.new)
21+
# fun.add_mapping("folder", Folder::AddDependencies.new)
22+
# end
23+
# end
24+
# end
25+
# end

0 commit comments

Comments
 (0)