From 3869d24b71a889264807a45583b07a52dbdf8af2 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 18 May 2019 08:23:05 -0700 Subject: [PATCH] Fix exception typo This change was made for line 104, but not line 81. --- lib/sublime_syntax_convertor/convertor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sublime_syntax_convertor/convertor.rb b/lib/sublime_syntax_convertor/convertor.rb index 4e327cf..02ea071 100644 --- a/lib/sublime_syntax_convertor/convertor.rb +++ b/lib/sublime_syntax_convertor/convertor.rb @@ -78,7 +78,7 @@ def handle_include_pattern(pattern) key = pattern['include'] if key[0] == '#' key = key[1..-1] - fail Exception("no entry in repository for #{key}") unless @repository.key?(key) + fail Exception.new("no entry in repository for #{key}") unless @repository.key?(key) return { 'include' => key } elsif key == '$self' return { 'include' => 'main' }