Skip to content

Commit

Permalink
fix(taskfiles): Use empty list as default for optional variable when …
Browse files Browse the repository at this point in the history
…passing it to a task via a ref (fixes 14).
  • Loading branch information
kirkrodrigues committed Nov 6, 2024
1 parent fe2fb1b commit 65f3f88
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 65f3f88

Please sign in to comment.