Fix the error.

This commit is contained in:
Kyle Spier-Swenson
2017-10-31 13:44:56 -07:00
committed by GitHub
parent da7d046f98
commit 7ce48884f2

View File

@@ -561,7 +561,7 @@ function has_tree_been_edited($payload, $tree){
get_diff($payload);
//find things in the _maps/map_files tree
//e.g. diff --git a/_maps/map_files/Cerestation/cerestation.dmm b/_maps/map_files/Cerestation/cerestation.dmm
return $github_diff !== FALSE && preg_match('/^diff --git a\/' . preg_quote($tree, '/') . '/m') !== FALSE;
return $github_diff !== FALSE && preg_match('/^diff --git a\/' . preg_quote($tree, '/') . '/m', $github_diff) !== FALSE;
}
$no_changelog = false;