Skip to content

Commit a46e0fc

Browse files
committed
Incorporate review feedback
1 parent a3f3138 commit a46e0fc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pkl-commons-cli/src/main/kotlin/org/pkl/commons/cli/commands/BaseOptions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class BaseOptions : OptionGroup() {
130130
option(
131131
names = arrayOf("--ca-certificates"),
132132
metavar = "<path>",
133-
help = "Trust CA certificates from the provided file."
133+
help = "Only trust CA certificates from the provided file(s)."
134134
)
135135
.path()
136136
.multiple()

pkl-core/src/test/kotlin/org/pkl/core/http/HttpClientTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ class HttpClientTest {
9595
}
9696

9797
@Test
98-
fun `can load certificates from default location`(@TempDir userHome: Path) {
99-
val certFile = userHome.resolve(".pkl")
98+
fun `can load certificates from default location`(@TempDir tempDir: Path) {
99+
val certFile = tempDir.resolve(".pkl")
100100
.resolve("cacerts")
101101
.createDirectories()
102102
.resolve("certs.pem")
103103
FileTestUtils.selfSignedCertificate.copyTo(certFile)
104104

105105
assertDoesNotThrow {
106-
HttpClientBuilder(userHome).addDefaultCliCertificates().build()
106+
HttpClientBuilder(tempDir).addDefaultCliCertificates().build()
107107
}
108108
}
109109

0 commit comments

Comments
 (0)