Skip to content

Commit

Permalink
Little glitches in error/warning message formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
honzajavorek committed Apr 26, 2016
1 parent 90d2721 commit 9b18946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handle-runtime-problems.coffee
Expand Up @@ -22,9 +22,9 @@ handleRuntimeProblems = (blueprintData) ->

message = """ \
Parser #{annotation.type} in file '#{filename}': \
(#{annotation.code}) #{annotation.message}" \
(#{annotation.type} code #{annotation.code}) #{annotation.message} \
"""
message += " on #{blueprintUtils.rangesToLinesText(ranges)}" if ranges?.length
message += "on #{blueprintUtils.rangesToLinesText(ranges)}" if ranges?.length
log(message)
else
transactionName = [
Expand Down

0 comments on commit 9b18946

Please sign in to comment.