We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0016089 commit d246a5fCopy full SHA for d246a5f
editors/code/src/tasks.ts
@@ -111,6 +111,8 @@ export async function buildCargoTask(
111
112
return new vscode.Task(
113
definition,
114
+ // scope can sometimes be undefined. in these situations we default to the workspace taskscope as
115
+ // recommended by the official docs: https://code.visualstudio.com/api/extension-guides/task-provider#task-provider)
116
scope ?? vscode.TaskScope.Workspace,
117
name,
118
TASK_SOURCE,
0 commit comments