Skip to content

Commit

Permalink
ran jlpm run lint, fixed complaints
Browse files Browse the repository at this point in the history
hopefully this fixes the failure of the Linux Integrity CI
  • Loading branch information
telamonian committed Aug 13, 2019
1 parent f3d0abb commit 8a995e2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/apputils/src/thememanager.ts
Expand Up @@ -217,8 +217,8 @@ export class ThemeManager implements IThemeManager {
/**
* Toggle the `theme-scrollbbars` setting.
*/
toggleThemeScrollbars(): void {
this._settings.set(
toggleThemeScrollbars(): Promise<void> {
return this._settings.set(
'theme-scrollbars',
!this._settings.composite['theme-scrollbars']
);
Expand Down
17 changes: 11 additions & 6 deletions packages/statusbar/src/defaults/kernelStatus.tsx
Expand Up @@ -181,12 +181,17 @@ export namespace KernelStatus {
const oldState = this._getAllState();
const { newValue } = change;
if (newValue !== null) {
newValue.getSpec().then(spec => {
// sync setting of status and display name
this._kernelStatus = newValue.status;
this._kernelName = spec.display_name;
this._triggerChange(oldState, this._getAllState());
});
newValue
.getSpec()
.then(spec => {
// sync setting of status and display name
this._kernelStatus = newValue.status;
this._kernelName = spec.display_name;
this._triggerChange(oldState, this._getAllState());
})
.catch(err => {
throw err;
});
} else {
this._kernelStatus = 'unknown';
this._kernelName = 'unknown';
Expand Down

0 comments on commit 8a995e2

Please sign in to comment.