diff --git a/scripts/mentioning-comment-handler.rb b/scripts/mentioning-comment-handler.rb index 974dbc3..9607144 100755 --- a/scripts/mentioning-comment-handler.rb +++ b/scripts/mentioning-comment-handler.rb @@ -81,6 +81,11 @@ body = info.body author = info.user.login +if body.nil? then + puts "Empty message detected 🤷🏻" + exit 0 +end + # cycle over repo's users collaborators = "" repo_metadata.each { |user, props|