fix spacing bug in contract error messages
This commit is contained in:
parent
1f7565fe47
commit
fd99e57020
|
@ -309,7 +309,7 @@
|
||||||
(format " contract from: ~a" from-negative-message))))
|
(format " contract from: ~a" from-negative-message))))
|
||||||
|
|
||||||
(define custom-message-appears-to-start-with-fields?
|
(define custom-message-appears-to-start-with-fields?
|
||||||
(regexp-match? #rx"[^\n]*:" custom-message))
|
(regexp-match? #rx"^[^\n]*:" custom-message))
|
||||||
|
|
||||||
(combine-lines
|
(combine-lines
|
||||||
(if custom-message-appears-to-start-with-fields?
|
(if custom-message-appears-to-start-with-fields?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user