Skip to content

Commit

Permalink
Nit: Add helpful comment about kobweb.version for crashing devs
Browse files Browse the repository at this point in the history
  • Loading branch information
bitspittle committed Oct 16, 2024
1 parent e1dc9d8 commit ea89ff5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ import com.varabyte.kotterx.decorations.BorderCharacters
import com.varabyte.kotterx.decorations.bordered

val kobwebCliVersion: SemVer.Parsed by lazy {
// If you're running into this exception during development, please add
// -Dkobweb.version=999.999.999
// to your VM options.
SemVer.parse(System.getProperty("kobweb.version").substringBefore('-')) as SemVer.Parsed
}

Expand Down

0 comments on commit ea89ff5

Please sign in to comment.