Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: stop targeting all packages with --since if no changes #637

Merged
merged 10 commits into from
Feb 9, 2022
2 changes: 1 addition & 1 deletion cli/internal/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func (c *RunCommand) Run(args []string) int {
c.Ui.Output(fmt.Sprintf(ui.Dim("• Packages changed since %s: %s"), runOptions.since, strings.Join(filteredPkgs.UnsafeListOfStrings(), ", ")))
} else if scopePkgs.Len() > 0 {
filteredPkgs = scopePkgs
} else {
} else if runOptions.since == "" {
for _, f := range ctx.PackageNames {
filteredPkgs.Add(f)
}
Expand Down