aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands/runnables.ts
diff options
context:
space:
mode:
authorIgor Matuszewski <[email protected]>2019-03-18 21:15:03 +0000
committerIgor Matuszewski <[email protected]>2019-03-18 21:15:03 +0000
commit5c3cc8c95f392c523bb638d78e0217780d6e8476 (patch)
tree2a39db2f3964ac2970423de2cf384e7d6adc415e /editors/code/src/commands/runnables.ts
parent7d2378ed7da7e2255e0ea155632a609909071ca7 (diff)
Reformat using Prettier
Diffstat (limited to 'editors/code/src/commands/runnables.ts')
-rw-r--r--editors/code/src/commands/runnables.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts
index c6d23a185..23fd280b4 100644
--- a/editors/code/src/commands/runnables.ts
+++ b/editors/code/src/commands/runnables.ts
@@ -128,7 +128,7 @@ export const autoCargoWatchTask: vscode.Task = {
128 name: 'cargo watch', 128 name: 'cargo watch',
129 source: 'rust-analyzer', 129 source: 'rust-analyzer',
130 definition: { 130 definition: {
131 type: "dupa", 131 type: 'watch'
132 }, 132 },
133 execution: new vscode.ShellExecution('cargo', ['watch'], { cwd: '.' }), 133 execution: new vscode.ShellExecution('cargo', ['watch'], { cwd: '.' }),
134 134
@@ -138,8 +138,8 @@ export const autoCargoWatchTask: vscode.Task = {
138 clear: true 138 clear: true
139 }, 139 },
140 // Not yet exposed in the vscode.d.ts 140 // Not yet exposed in the vscode.d.ts
141 runOptions: { 141 // https://github.com/Microsoft/vscode/blob/ea7c31d770e04b51d586b0d3944f3a7feb03afb9/src/vs/workbench/contrib/tasks/common/tasks.ts#L444-L456
142 runOn: 2 // RunOnOptions.folderOpen, https://github.com/Microsoft/vscode/blob/ea7c31d770e04b51d586b0d3944f3a7feb03afb9/src/vs/workbench/contrib/tasks/common/tasks.ts#L444-L456 142 runOptions: ({
143 } as unknown as vscode.RunOptions, 143 runOn: 2 // RunOnOptions.folderOpen
144 144 } as unknown) as vscode.RunOptions
145}; 145};