diff options
-rw-r--r-- | src/main/kotlin/Main.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/kotlin/Main.kt b/src/main/kotlin/Main.kt index a472205..1064ba3 100644 --- a/src/main/kotlin/Main.kt +++ b/src/main/kotlin/Main.kt @@ -191,6 +191,9 @@ fun parseChanges( changePattern.matchMatcher(line) { val author = group("author") + if (author == "your_name_here") { + error("no author name") + } val text = group("text") if (illegalStartPattern.matcher(text).matches()) { error("illegal start at change: '$text'") |