Skip to content

Commit 4bccf77

Browse files
authored
Merge pull request #644 from per1234/fix-task
Fix windows compatibility regression of task `dir` keys
2 parents 83027a8 + c3ac1c3 commit 4bccf77

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

Taskfile.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -848,8 +848,7 @@ tasks:
848848
Environment variable parameters:
849849
- PROJECT_PATH: Path of the npm-managed project (default: {{.DEFAULT_NPM_PROJECT_PATH}}).
850850
run: when_changed
851-
dir: |
852-
"{{default .DEFAULT_NPM_PROJECT_PATH .PROJECT_PATH}}"
851+
dir: "{{default .DEFAULT_NPM_PROJECT_PATH .PROJECT_PATH}}"
853852
cmds:
854853
- npm install
855854

@@ -859,8 +858,7 @@ tasks:
859858
Fix problems with the npm configuration file.
860859
Environment variable parameters:
861860
- PROJECT_PATH: Path of the npm-managed project (default: {{.DEFAULT_NPM_PROJECT_PATH}}).
862-
dir: |
863-
"{{default .DEFAULT_NPM_PROJECT_PATH .PROJECT_PATH}}"
861+
dir: "{{default .DEFAULT_NPM_PROJECT_PATH .PROJECT_PATH}}"
864862
cmds:
865863
- |
866864
npm config \

workflow-templates/assets/check-npm-task/Taskfile.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ tasks:
88
Fix problems with the npm configuration file.
99
Environment variable parameters:
1010
- PROJECT_PATH: Path of the npm-managed project (default: {{.DEFAULT_NPM_PROJECT_PATH}}).
11-
dir: |
12-
"{{default .DEFAULT_NPM_PROJECT_PATH .PROJECT_PATH}}"
11+
dir: "{{default .DEFAULT_NPM_PROJECT_PATH .PROJECT_PATH}}"
1312
cmds:
1413
- |
1514
npm config \

workflow-templates/assets/npm-task/Taskfile.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ tasks:
1414
Environment variable parameters:
1515
- PROJECT_PATH: Path of the npm-managed project (default: {{.DEFAULT_NPM_PROJECT_PATH}}).
1616
run: when_changed
17-
dir: |
18-
"{{default .DEFAULT_NPM_PROJECT_PATH .PROJECT_PATH}}"
17+
dir: "{{default .DEFAULT_NPM_PROJECT_PATH .PROJECT_PATH}}"
1918
cmds:
2019
- npm install

0 commit comments

Comments
 (0)