Skip to content

Commit

Permalink
Bug 1594520 - Use workspaceFolder in .vscode/tasks.json r=jya
Browse files Browse the repository at this point in the history
The ${workspaceRoot} variable was deprecated when multi-folder workspaces
were added to VSCode.

Depends on D52082

Differential Revision: https://phabricator.services.mozilla.com/D52083
  • Loading branch information
moztcampbell committed Nov 12, 2019
1 parent 94e2c09 commit 0178be1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// for the documentation about the tasks.json format
"version": "2.0.0",
"type": "shell",
"command": "${workspaceRoot}/mach",
"command": "${workspaceFolder}/mach",
"windows": {
"command": "\"\\mozilla-build\\start-shell.bat mach\""
},
Expand Down Expand Up @@ -109,7 +109,7 @@
"label": "mochitest",
"args": ["mochitest", "${relativeFile}"],
"problemMatcher": {
"fileLocation": ["relative", "${workspaceRoot}"],
"fileLocation": ["relative", "${workspaceFolder}"],
"pattern": {
"regexp": "^.*\\s+(TEST-UNEXPECTED-FAIL|TEST-UNEXPECTED-PASS)\\s+\\|\\s+([^\\s]*)\\s+\\|\\s+(.*)$",
"severity": 1,
Expand Down Expand Up @@ -143,7 +143,7 @@
"label": "xpcshell-test",
"args": ["xpcshell-test", "${relativeFile}", "--sequential"],
"problemMatcher": {
"fileLocation": ["relative", "${workspaceRoot}"],
"fileLocation": ["relative", "${workspaceFolder}"],
"pattern": {
"regexp": "^.*\\s+(FAIL|ERROR)\\s+\\[([^\\s]*)\\s+:\\s+(\\d+)\\]\\s+(.*)$",
"severity": 1,
Expand Down

0 comments on commit 0178be1

Please sign in to comment.