Skip to content

Commit

Permalink
fix(taskfiles): Use empty list as default for optional task arguments…
Browse files Browse the repository at this point in the history
… passed via a `ref` (fixes 14). (#15)
  • Loading branch information
kirkrodrigues authored Nov 6, 2024
1 parent fe2fb1b commit ad576e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taskfiles/utils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ tasks:
vars:
DATA_DIR: "{{.DATA_DIR}}"
EXCLUDE_PATHS:
ref: ".EXCLUDE_PATHS"
ref: "default (list) .EXCLUDE_PATHS"
OUTPUT_FILE: "{{.TMP_CHECKSUM_FILE}}"
- defer: "rm -f '{{.TMP_CHECKSUM_FILE}}'"
# Check that the directory exists and the checksum matches; otherwise delete the checksum file
Expand Down

0 comments on commit ad576e4

Please sign in to comment.