You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tasks/ShellScript/Strings/resources.resjson/en-US/resources.resjson
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,10 @@
8
8
"loc.input.help.scriptPath": "Relative path from repo root of the shell script file to run.",
9
9
"loc.input.label.args": "Arguments",
10
10
"loc.input.help.args": "Arguments passed to the shell script",
11
-
"loc.input.label.cwd": "Working Directory",
12
-
"loc.input.help.cwd": "Current working directory when script is run. Defaults to the folder where the script is located.",
13
-
"loc.input.label.disableAutoCwd": "Disable Auto CWD",
11
+
"loc.input.label.disableAutoCwd": "Specify Working Directory",
14
12
"loc.input.help.disableAutoCwd": "The default behavior is to set the working directory to the script location. This enables you to optionally specify a different working directory.",
13
+
"loc.input.label.cwd": "Working Directory",
14
+
"loc.input.help.cwd": "Current working directory when script is run. Defaults to the $(System.DefaultWorkingDirectory).",
15
15
"loc.input.label.failOnStandardError": "Fail on Standard Error",
16
16
"loc.input.help.failOnStandardError": "If this is true, this task will fail if any errors are written to the StandardError stream.",
17
17
"loc.messages.BashReturnCode": "Bash exited with return code: %d",
Copy file name to clipboardExpand all lines: Tasks/ShellScript/task.json
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -43,24 +43,25 @@
43
43
"required": false,
44
44
"helpMarkDown": "Arguments passed to the shell script"
45
45
},
46
-
{
47
-
"name": "cwd",
48
-
"type": "filePath",
49
-
"label": "Working Directory",
50
-
"defaultValue": "",
51
-
"required": false,
52
-
"helpMarkDown": "Current working directory when script is run. Defaults to the folder where the script is located.",
53
-
"groupName": "advanced"
54
-
},
55
46
{
56
47
"name": "disableAutoCwd",
57
48
"type": "boolean",
58
-
"label": "Disable Auto CWD",
49
+
"label": "Specify Working Directory",
59
50
"defaultValue": "false",
60
51
"required": false,
61
52
"helpMarkDown": "The default behavior is to set the working directory to the script location. This enables you to optionally specify a different working directory.",
62
53
"groupName": "advanced"
63
54
},
55
+
{
56
+
"name": "cwd",
57
+
"type": "filePath",
58
+
"label": "Working Directory",
59
+
"defaultValue": "",
60
+
"required": false,
61
+
"visibleRule": "disableAutoCwd = true",
62
+
"helpMarkDown": "Current working directory when script is run. Defaults to the $(System.DefaultWorkingDirectory).",
0 commit comments