diff --git a/lib/solargraph/shell.rb b/lib/solargraph/shell.rb index a005f600b..0c025b7bb 100755 --- a/lib/solargraph/shell.rb +++ b/lib/solargraph/shell.rb @@ -187,7 +187,7 @@ def typecheck *files problems = checker.problems 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}" }.join("\n") + puts problems.map { |prob| "#{prob.location.filename}:#{prob.location.range.start.line + 1}: #{prob.message}" }.join("\n") filecount += 1 probcount += problems.length end