Add a grep for empty Finds

This commit is contained in:
Putnam3145
2022-08-22 16:49:44 -07:00
parent f2b8061d4b
commit 49aa9f5845
+4
View File
@@ -100,6 +100,10 @@ if grep -i '/obj/effect/mapping_helpers/custom_icon' _maps/**/*.dmm; then
echo "Custom icon helper found. Please include dmis as standard assets instead for built-in maps."
st=1
fi;
if grep -n '.Find()' code/**/*.dm; then
echo "Empty Find() found. Please try to figure out what was meant to be found."
st=1
fi;
for json in _maps/*.json
do
map_path=$(jq -r '.map_path' $json)