mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-07 14:53:35 +00:00
Cleanup Dangerfile (#1212)
`has_changes_in_source_directory` and `declared_trivial` are not longer needed after after PR #1031.
This commit is contained in:
parent
e745aded7d
commit
87615b0ec2
@ -1,11 +1,6 @@
|
||||
require 'open-uri'
|
||||
|
||||
source_pattern = /(\.m|\.mm|\.h)$/
|
||||
|
||||
# Sometimes it's a README fix, or something like that - which isn't relevant for
|
||||
# including in a project's CHANGELOG for example
|
||||
declared_trivial = github.pr_title.include? "#trivial"
|
||||
has_changes_in_source_directory = !git.modified_files.grep(/Source/).empty?
|
||||
|
||||
modified_source_files = git.modified_files.grep(source_pattern)
|
||||
has_modified_source_files = !modified_source_files.empty?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user