refactor: Rename payment module to axhub-tool-payment

This commit is contained in:
jade
2026-07-09 22:02:57 +09:00
parent 654c61edc5
commit 4919ae936e
7 changed files with 9 additions and 9 deletions

View File

@@ -109,7 +109,7 @@ public class PodScaffolder {
if (Files.exists(settingsPath)) {
String settings = Files.readString(settingsPath);
if (!settings.contains("include '" + moduleName + "'")) {
Files.writeString(settingsPath, "\\ninclude '" + moduleName + "'\\n", StandardOpenOption.APPEND);
Files.writeString(settingsPath, System.lineSeparator() + "include '" + moduleName + "'" + System.lineSeparator(), StandardOpenOption.APPEND);
}
}
@@ -141,7 +141,7 @@ public class PodScaffolder {
- GLOW_COMMUNICATION_EAI_HOST=tcp://gateway
- GLOW_COMMUNICATION_EAI_PORT=8081
""".formatted(serviceName, moduleName, portStr, portStr, serviceName, portStr);
Files.writeString(dockerComposePath, "\\n" + newService, StandardOpenOption.APPEND);
Files.writeString(dockerComposePath, System.lineSeparator() + newService, StandardOpenOption.APPEND);
}
}