Reformat using Prettier

This commit is contained in:
Igor Matuszewski 2019-03-18 22:15:03 +01:00
parent 7d2378ed7d
commit 5c3cc8c95f
2 changed files with 35 additions and 17 deletions

View file

@ -128,7 +128,7 @@ export const autoCargoWatchTask: vscode.Task = {
name: 'cargo watch',
source: 'rust-analyzer',
definition: {
type: "dupa",
type: 'watch'
},
execution: new vscode.ShellExecution('cargo', ['watch'], { cwd: '.' }),
@ -138,8 +138,8 @@ export const autoCargoWatchTask: vscode.Task = {
clear: true
},
// Not yet exposed in the vscode.d.ts
runOptions: {
runOn: 2 // RunOnOptions.folderOpen, https://github.com/Microsoft/vscode/blob/ea7c31d770e04b51d586b0d3944f3a7feb03afb9/src/vs/workbench/contrib/tasks/common/tasks.ts#L444-L456
} as unknown as vscode.RunOptions,
// https://github.com/Microsoft/vscode/blob/ea7c31d770e04b51d586b0d3944f3a7feb03afb9/src/vs/workbench/contrib/tasks/common/tasks.ts#L444-L456
runOptions: ({
runOn: 2 // RunOnOptions.folderOpen
} as unknown) as vscode.RunOptions
};