diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-14 21:08:47 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-14 21:08:47 +0000 |
commit | ab42174653ae42f8d862f28ef802bf1312be1694 (patch) | |
tree | 0d3bf6a0d6712263e2ec4da30914ad3be37e8387 /editors/code/src/status_display.ts | |
parent | b2b94cbf71738e7bc372328f22c8dcc8c734b34c (diff) | |
parent | 20fabaf1eeec32e1115627a5552eddf0c074ce37 (diff) |
Merge #3131
3131: vscode: simplified config and to removed one source of truth of default values r=matklad a=Veetaha
Though not intended initially, the implementation of config design is alike [dart's one](https://github.com/Dart-Code/Dart-Code/blob/master/src/extension/config.ts) as pointed by @matklad in PM.
Co-authored-by: Veetaha <[email protected]>
Diffstat (limited to 'editors/code/src/status_display.ts')
-rw-r--r-- | editors/code/src/status_display.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/status_display.ts b/editors/code/src/status_display.ts index 51dbf388b..993e79d70 100644 --- a/editors/code/src/status_display.ts +++ b/editors/code/src/status_display.ts | |||
@@ -66,9 +66,9 @@ class StatusDisplay implements Disposable { | |||
66 | 66 | ||
67 | refreshLabel() { | 67 | refreshLabel() { |
68 | if (this.packageName) { | 68 | if (this.packageName) { |
69 | this.statusBarItem!.text = `${spinnerFrames[this.i]} cargo ${this.command} [${this.packageName}]`; | 69 | this.statusBarItem.text = `${spinnerFrames[this.i]} cargo ${this.command} [${this.packageName}]`; |
70 | } else { | 70 | } else { |
71 | this.statusBarItem!.text = `${spinnerFrames[this.i]} cargo ${this.command}`; | 71 | this.statusBarItem.text = `${spinnerFrames[this.i]} cargo ${this.command}`; |
72 | } | 72 | } |
73 | } | 73 | } |
74 | 74 | ||