We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 755b99c commit 59fe467Copy full SHA for 59fe467
mcp/mcp-cli-api/src/main/java/software/amazon/smithy/java/mcp/cli/ConfigUtils.java
@@ -88,7 +88,10 @@ private static Path getSmithyMcpCliHome() {
88
}
89
90
public static Path resolveFromHomeDir(String... paths) {
91
- String userHome = System.getProperty("user.home");
+ String userHome = System.getenv("TEST_USER_HOME");
92
+ if (userHome == null) {
93
+ userHome = System.getProperty("user.home");
94
+ }
95
return Paths.get(userHome, paths);
96
97
0 commit comments