From ad576e43c1a43d7a6afde79fc9c3c952b7bf28bd Mon Sep 17 00:00:00 2001 From: kirkrodrigues <2454684+kirkrodrigues@users.noreply.github.com> Date: Wed, 6 Nov 2024 17:29:28 -0500 Subject: [PATCH] fix(taskfiles): Use empty list as default for optional task arguments passed via a `ref` (fixes 14). (#15) --- taskfiles/utils.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskfiles/utils.yml b/taskfiles/utils.yml index 5b24747..13bdded 100644 --- a/taskfiles/utils.yml +++ b/taskfiles/utils.yml @@ -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