You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/09/04 10:10:14 UTC

[logging-parent] 04/05: Fix `System.err.format()` call in BSH

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-parent.git

commit 0ffe1fecd02d24118e64912470ddc91fdb1d6a15
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Mon Sep 4 11:21:07 2023 +0200

    Fix `System.err.format()` call in BSH
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 4e6d0b0..edf93e8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -665,7 +665,7 @@
                     });
                     System.err.format(
                             "Error: Was expecting at least %d attachments, found %d!%n",
-                            ${minAttachmentCount}, attachmentPathByFile.size());
+                            new Object[]{${minAttachmentCount}, attachmentPathByFile.size()});
                     System.err.println("Tip: Have you already executed the Maven `package` goal?");
                     System.exit(1);
                 }