diff options
Diffstat (limited to 'editors/code/src/config.ts')
-rw-r--r-- | editors/code/src/config.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index c1dd2c056..10e98d753 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts | |||
@@ -25,8 +25,8 @@ export class Config { | |||
25 | public cargoWatchOptions: CargoWatchOptions = { | 25 | public cargoWatchOptions: CargoWatchOptions = { |
26 | enableOnStartup: 'ask', | 26 | enableOnStartup: 'ask', |
27 | trace: 'off', | 27 | trace: 'off', |
28 | checkArguments: '', | 28 | arguments: '', |
29 | checkCommand: '' | 29 | command: '' |
30 | }; | 30 | }; |
31 | 31 | ||
32 | private prevEnhancedTyping: null | boolean = null; | 32 | private prevEnhancedTyping: null | boolean = null; |
@@ -107,16 +107,16 @@ export class Config { | |||
107 | ); | 107 | ); |
108 | } | 108 | } |
109 | 109 | ||
110 | if (config.has('cargo-watch.check-arguments')) { | 110 | if (config.has('cargo-watch.arguments')) { |
111 | this.cargoWatchOptions.checkArguments = config.get<string>( | 111 | this.cargoWatchOptions.arguments = config.get<string>( |
112 | 'cargo-watch.check-arguments', | 112 | 'cargo-watch.arguments', |
113 | '' | 113 | '' |
114 | ); | 114 | ); |
115 | } | 115 | } |
116 | 116 | ||
117 | if (config.has('cargo-watch.check-command')) { | 117 | if (config.has('cargo-watch.command')) { |
118 | this.cargoWatchOptions.checkCommand = config.get<string>( | 118 | this.cargoWatchOptions.command = config.get<string>( |
119 | 'cargo-watch.check-command', | 119 | 'cargo-watch.command', |
120 | '' | 120 | '' |
121 | ); | 121 | ); |
122 | } | 122 | } |