diff --git a/lib/solargraph/shell.rb b/lib/solargraph/shell.rb index e42dd2383..ef7195877 100755 --- a/lib/solargraph/shell.rb +++ b/lib/solargraph/shell.rb @@ -259,7 +259,7 @@ def typecheck *files next if problems.empty? problems.sort! { |a, b| a.location.range.start.line <=> b.location.range.start.line } puts problems.map { |prob| - "#{prob.location.filename}:#{prob.location.range.start.line + 1} - #{prob.message}" + "#{prob.location.filename}:#{prob.location.range.start.line + 1}: #{prob.message}" }.join("\n") filecount += 1 probcount += problems.length