mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 07:57:12 -07:00
💬 Adding trimming of line in format string
Before: ***** WARNING Old profile syntax detected for " val debug = false", please update to "val debug by profile()" After: ***** WARNING Old profile syntax detected for "val debug = false", please update to "val debug by profile()
This commit is contained in:
parent
70f01fa691
commit
f4f3827fd1
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class Profiles(val context: KobaltContext) {
|
|||
val variable = if (match.first) match.second else oldMatch.second
|
||||
|
||||
if (oldMatch.first) {
|
||||
warn("Old profile syntax detected for \"$line\"," +
|
||||
warn("Old profile syntax detected for \"${line.trim()}\"," +
|
||||
" please update to \"val $variable by profile()\"")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue