From 758486a0b67632ca949f6d0f6701f51dfc3836d5 Mon Sep 17 00:00:00 2001 From: Romain Manni-Bucau Date: Mon, 4 Dec 2023 18:05:15 +0100 Subject: [PATCH] [diff] ensure diff command does not use logger logging when file mode is picked --- .../java/io/yupiik/bundlebee/core/command/impl/DiffCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bundlebee-core/src/main/java/io/yupiik/bundlebee/core/command/impl/DiffCommand.java b/bundlebee-core/src/main/java/io/yupiik/bundlebee/core/command/impl/DiffCommand.java index 24016e4e..0bd75058 100644 --- a/bundlebee-core/src/main/java/io/yupiik/bundlebee/core/command/impl/DiffCommand.java +++ b/bundlebee-core/src/main/java/io/yupiik/bundlebee/core/command/impl/DiffCommand.java @@ -299,6 +299,7 @@ private void doWrite(final Supplier contentProvider) { } catch (final IOException ioe) { throw new IllegalStateException(ioe); } + break; default: log.info(contentProvider); }