lib/swiftformat/plugin.rb in danger-swiftformat-0.3.1 vs lib/swiftformat/plugin.rb in danger-swiftformat-0.3.2
- old
+ new
@@ -61,10 +61,9 @@
def find_swift_files
files = (git.modified_files - git.deleted_files) + git.added_files
files
.select { |file| file.end_with?(".swift") }
- .map { |file| Shellwords.escape(file) }
.uniq
.sort
end
# Constructs the SwiftFormat class