Skip to content

Commit 4682a0f

Browse files
authored
#238: fix process argument logging (#240)
1 parent eb29ec8 commit 4682a0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/src/main/java/com/devonfw/tools/ide/process/ProcessContextImpl.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ private String createCommandMessage(String interpreter, String suffix) {
182182
sb.append(interpreter);
183183
}
184184
int size = this.arguments.size();
185-
if (size > 1) {
185+
if (size > 0) {
186186
sb.append(" with arguments");
187-
for (int i = 1; i < size; i++) {
187+
for (int i = 0; i < size; i++) {
188188
String arg = this.arguments.get(i);
189189
sb.append(" '");
190190
sb.append(arg);

0 commit comments

Comments
 (0)