Skip to content

Commit 7c38aa1

Browse files
committed
Try to remove broken ones
1 parent b56969b commit 7c38aa1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib/tasks/temporary/oneshot.rake

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
module RubybenchOneshot
2-
class << self
3-
end
4-
end
5-
61
namespace :oneshot do
72
desc 'Remove duplicated commit'
83
task remove_duplicates: :environment do
@@ -45,4 +40,10 @@ namespace :oneshot do
4540
)
4641
end
4742
end
43+
44+
desc 'Remove broken ones'
45+
task remove_file: :environment do
46+
BenchmarkType.where(category: 'file_chmod').destroy_all
47+
BenchmarkType.where(category: 'file_rename').destroy_all
48+
end
4849
end

0 commit comments

Comments
 (0)