mirror of
https://github.com/go-task/task.git
synced 2025-07-17 01:43:07 +02:00
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:
@ -9,6 +9,9 @@
|
|||||||
- Fix bug in usage of special variables like `{{.USER_WORKING_DIR}}` in
|
- Fix bug in usage of special variables like `{{.USER_WORKING_DIR}}` in
|
||||||
combination with `includes` (#1046, #1205, #1250, #1293, #1312, #1274 by
|
combination with `includes` (#1046, #1205, #1250, #1293, #1312, #1274 by
|
||||||
@andarto, #1309 by @andreynering).
|
@andarto, #1309 by @andreynering).
|
||||||
|
- Fix bug on `--status` flag. Running this flag should not have side-effects:
|
||||||
|
it should not update the checksum on `.task`, only report its status (#1305,
|
||||||
|
#1307 by @visciang, #1313 by @andreynering).
|
||||||
|
|
||||||
## v3.28.0 - 2023-07-24
|
## v3.28.0 - 2023-07-24
|
||||||
|
|
||||||
|
@ -221,7 +221,7 @@ func run() error {
|
|||||||
Silent: flags.silent,
|
Silent: flags.silent,
|
||||||
AssumeYes: flags.assumeYes,
|
AssumeYes: flags.assumeYes,
|
||||||
Dir: flags.dir,
|
Dir: flags.dir,
|
||||||
Dry: flags.dry,
|
Dry: flags.dry || flags.status,
|
||||||
Entrypoint: flags.entrypoint,
|
Entrypoint: flags.entrypoint,
|
||||||
Summary: flags.summary,
|
Summary: flags.summary,
|
||||||
Parallel: flags.parallel,
|
Parallel: flags.parallel,
|
||||||
|
Reference in New Issue
Block a user