Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/github_actions/actions/stale-9
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Dec 17, 2023
2 parents d29322c + 0806c8b commit 7db7e1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ func readArgsFile(file string, split bool) []string {
}()
scanner := bufio.NewScanner(f)
for scanner.Scan() {
arg := strings.TrimSpace(scanner.Text())
arg := os.ExpandEnv(strings.TrimSpace(scanner.Text()))

if strings.HasPrefix(arg, "-") && split {
args = append(args, regexp.MustCompile(`\s`).Split(arg, 2)...)
} else if !split {
Expand Down

0 comments on commit 7db7e1f

Please sign in to comment.