From 0a5fe429ca37c025a15c5af919827436cc413abc Mon Sep 17 00:00:00 2001 From: Nicola Dal Maso Date: Sun, 27 Jan 2019 14:17:22 +0100 Subject: [PATCH] Change deprecated workspaceRoot variable to the equivalent workspaceFolder Fixes #2023. --- docs/recipes/debugging-with-vscode.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/recipes/debugging-with-vscode.md b/docs/recipes/debugging-with-vscode.md index 7af0ecc3a..357b0e88c 100644 --- a/docs/recipes/debugging-with-vscode.md +++ b/docs/recipes/debugging-with-vscode.md @@ -15,7 +15,7 @@ Add following to the `configurations` object: "type": "node", "request": "launch", "name": "Run AVA test", - "program": "${workspaceRoot}/node_modules/ava/profile.js", + "program": "${workspaceFolder}/node_modules/ava/profile.js", "args": [ "${file}" ], @@ -46,7 +46,7 @@ By default AVA runs tests concurrently. This may complicate debugging. Add a con "type": "node", "request": "launch", "name": "Run AVA test serially", - "program": "${workspaceRoot}/node_modules/ava/profile.js", + "program": "${workspaceFolder}/node_modules/ava/profile.js", "args": [ "${file}", "--serial"