Skip to content

Commit 1acb097

Browse files
authored
Merge pull request rubocop#828 from r7kamura/feature/create-empty-file
Ignore `InternalAffairs/CreateEmptyFile` in `#create_empty_file`
2 parents f913bb5 + 712af39 commit 1acb097

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/support/file_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ def create_file(file_path, content)
1919
end
2020
end
2121

22+
# rubocop:disable InternalAffairs/CreateEmptyFile
2223
def create_empty_file(file_path)
2324
create_file(file_path, '')
2425
end
26+
# rubocop:enable InternalAffairs/CreateEmptyFile
2527
end

0 commit comments

Comments
 (0)