fix: --status flag should not have side-effects (#1313)

Closes #1305
Closes #1307

Co-authored-by: Giovanni Visciano <giovanni_visciano@yahoo.it>
This commit is contained in:
Andrey Nering
2023-08-26 18:30:23 -03:00
committed by GitHub
parent e96712b020
commit d1f643ebd9
2 changed files with 4 additions and 1 deletions

View File

@@ -221,7 +221,7 @@ func run() error {
Silent: flags.silent,
AssumeYes: flags.assumeYes,
Dir: flags.dir,
Dry: flags.dry,
Dry: flags.dry || flags.status,
Entrypoint: flags.entrypoint,
Summary: flags.summary,
Parallel: flags.parallel,