Skip to content

Commit d1d3952

Browse files
remove forced lower case (#2104)
* remove forced lower case * Update comment_utils.go --------- Co-authored-by: Mohamed Habib <[email protected]>
1 parent 01f3c79 commit d1d3952

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/ci/generic/comment_utils.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package generic
33
import (
44
"flag"
55
"fmt"
6-
"github.com/google/shlex"
76
"strconv"
87
"strings"
8+
"github.com/google/shlex"
99
)
1010

1111
type CommentParts struct {
@@ -50,7 +50,7 @@ func (s *singleUseInt) Set(v string) error {
5050
// validates that the right number of flags are specified
5151
// Does not validate the "digger plan" part of the command that is left to a prior function
5252
func ParseDiggerCommentFlags(comment string) (*CommentParts, bool, error) {
53-
comment = strings.TrimSpace(strings.ToLower(comment))
53+
comment = strings.TrimSpace(comment)
5454

5555
args, err := shlex.Split(comment)
5656
if err != nil {

0 commit comments

Comments
 (0)