From 868ff6aabef7061783cf8b857e06f747ac308336 Mon Sep 17 00:00:00 2001 From: Juan Facorro Date: Wed, 6 Aug 2014 14:58:05 -0300 Subject: [PATCH] [#76] Ignore op_space if node is not found. --- src/elvis_style.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/elvis_style.erl b/src/elvis_style.erl index c07bf92..8143075 100644 --- a/src/elvis_style.erl +++ b/src/elvis_style.erl @@ -318,6 +318,7 @@ check_operator_spaces_rule(Line, Num, {Position, Operator}, Root) -> atom -> []; binary_element -> []; string -> []; + undefined -> []; _ -> Msg = ?OPERATOR_SPACE_MSG, Info = [Label, Operator, Num],