Skip to content

Commit dabf2b3

Browse files
committed
fix: version containing a newline
1 parent 7744dc0 commit dabf2b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-src/src/main/kotlin/ExecUtil.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ fun cmd(vararg args: String): String? {
99
println("${args.toList()} encountered error")
1010
return null
1111
}
12-
return process.inputStream.readAllBytes().decodeToString()
12+
return process.inputStream.readAllBytes().decodeToString().trim()
1313
}

0 commit comments

Comments
 (0)