Preserve flag-based artifact regeneration arguments
This commit is contained in:
@@ -15,7 +15,7 @@ func RegenerateArtifacts(ctx context.Context, args []string, out io.Writer) erro
|
||||
}
|
||||
|
||||
expanded := make([]string, 0, len(args)+5)
|
||||
if len(args) > 0 {
|
||||
if len(args) > 0 && !isCLIFlagToken(args[0]) {
|
||||
expanded = append(expanded, args[0])
|
||||
args = args[1:]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user