Skip to content

Commit 36a8427

Browse files
authored
Reverted saving user properties. (#4442)
1 parent 9f77a6d commit 36a8427

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/main/java/org/testcontainers/utility/TestcontainersConfiguration.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,8 @@ public boolean updateUserConfig(@NonNull String prop, @NonNull String value) {
311311
return false;
312312
}
313313

314+
userProperties.setProperty(prop, value);
315+
314316
USER_CONFIG_FILE.createNewFile();
315317
try (OutputStream outputStream = new FileOutputStream(USER_CONFIG_FILE)) {
316318
userProperties.store(outputStream, "Modified by Testcontainers");

0 commit comments

Comments
 (0)