mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Danger: Add png check (#88)
This commit is contained in:
@@ -75,3 +75,9 @@ if hasChangedViews {
|
|||||||
warn("You seem to have made changes to views. Please consider adding screenshots.")
|
warn("You seem to have made changes to views. Please consider adding screenshots.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check for pngs on resources
|
||||||
|
let hasPngs = !editedFiles.filter { $0.lowercased().hasSuffix(".png") }.isEmpty
|
||||||
|
if hasPngs {
|
||||||
|
warn("You seem to have made changes to some images. Please consider using an SVG or PDF.")
|
||||||
|
}
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
Danger: Add a check for png files and warn to use SVG and PDF files.
|
||||||
Reference in New Issue
Block a user