Skip to content

Commit 58bb4d2

Browse files
[HOTFIX] Fix for GHI #400
Changes in file .github/tools/cioutput.py: * remove layer of group nesting
2 parents f1f8eb7 + cb64b62 commit 58bb4d2

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/tools/cioutput.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Multicast Python Module
55
# ..................................
6-
# Copyright (c) 2017-2025, Mr. Walls
6+
# Copyright (c) 2025, Mr. Walls
77
# ..................................
88
# Licensed under MIT (the "License");
99
# you may not use this file except in compliance with the License.
@@ -558,10 +558,8 @@ def configure_output_tool() -> CIOutputTool:
558558
help="File path for GitHub Actions annotations"
559559
)
560560
group = parser.add_argument_group()
561-
lineGroup = group.add_argument_group()
562-
lineSubGroup = lineGroup.add_mutually_exclusive_group(required=False)
563-
colGroup = lineGroup.add_argument_group()
564-
colSubGroup = colGroup.add_mutually_exclusive_group(required=False)
561+
lineSubGroup = group.add_mutually_exclusive_group(required=False)
562+
colSubGroup = group.add_mutually_exclusive_group(required=False)
565563
lineSubGroup.add_argument(
566564
"--line",
567565
dest="line",
@@ -590,13 +588,13 @@ def configure_output_tool() -> CIOutputTool:
590588
metavar="START_COL",
591589
help="Column number for GitHub Actions annotations"
592590
)
593-
lineGroup.add_argument(
591+
group.add_argument(
594592
"--end-line",
595593
dest="end_line",
596594
type=int,
597595
help="End line number for GitHub Actions annotations"
598596
)
599-
colGroup.add_argument(
597+
group.add_argument(
600598
"--end-col",
601599
dest="end_col",
602600
type=int,

0 commit comments

Comments
 (0)