From 4776cb3dcdaf85e6aaf3fed18870a4dacbe821ff Mon Sep 17 00:00:00 2001 From: Adlai Holler Date: Tue, 16 Jan 2018 12:55:27 -0800 Subject: [PATCH] Fix the dangerfile for real (#750) --- Dangerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dangerfile b/Dangerfile index db9f90b33..e9779d610 100644 --- a/Dangerfile +++ b/Dangerfile @@ -54,7 +54,7 @@ def check_file_header(files_to_check, licenses) license_header = full_license(license, filename) # Hack for https://github.com/TextureGroup/Texture/issues/745 # If it's already a "modified-post-Texture" file, leave it with it original copyright year. - if data.include "Modifications to this file made after 4/13/2017" + if data.include? "Modifications to this file made after 4/13/2017" correct_license = true elsif data.start_with?(license_header) correct_license = true