Skip to content

Commit 03ca5d0

Browse files
committed
Remove unused task
Previously, the `npm:validate` task called the `utility:mktemp-folder` task. That call was eliminated through some recent refactoring, but the now `utility:mktemp-folder` task was not removed at that time. The unused task serves no purpose and only makes the taskfile more difficult to understand and maintain. So the unused task is hereby removed.
1 parent 1949cae commit 03ca5d0

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Taskfile.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -392,17 +392,6 @@ tasks:
392392
vars:
393393
RAW_PATH: "{{.RAW_PATH}}"
394394

395-
# Make a temporary folder named according to the passed TEMPLATE variable and print the path passed to stdout
396-
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/windows-task/Taskfile.yml
397-
utility:mktemp-folder:
398-
vars:
399-
RAW_PATH:
400-
sh: mktemp --directory --tmpdir "{{.TEMPLATE}}"
401-
cmds:
402-
- task: utility:normalize-path
403-
vars:
404-
RAW_PATH: "{{.RAW_PATH}}"
405-
406395
# Print a normalized version of the path passed via the RAW_PATH variable to stdout
407396
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/windows-task/Taskfile.yml
408397
utility:normalize-path:

0 commit comments

Comments
 (0)