From 39c6d0bfd6367c301760d3cbb02446270f59bbaa Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 5 Jan 2022 16:21:02 +0100 Subject: [PATCH] linting --- libs/remix-core-plugin/src/lib/gist-handler.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/remix-core-plugin/src/lib/gist-handler.ts b/libs/remix-core-plugin/src/lib/gist-handler.ts index 93086f021f..bae3a2d60c 100644 --- a/libs/remix-core-plugin/src/lib/gist-handler.ts +++ b/libs/remix-core-plugin/src/lib/gist-handler.ts @@ -46,8 +46,8 @@ export class GistHandler extends Plugin { } catch (e) { // the modal has been canceled return - } - + } + if (value !== '') { gistId = getGistId(value) if (gistId) { @@ -78,7 +78,7 @@ export class GistHandler extends Plugin { cb(gistId) } return loadingFromGist - } + } load (gistId: String | null) { const self = this @@ -106,7 +106,7 @@ export class GistHandler extends Plugin { await this.call('modal', 'modal', modalContent) return } - + const obj: StringByString = {} Object.keys(data.files).forEach((element) => { const path = element.replace(/\.\.\./g, '/') @@ -119,14 +119,14 @@ export class GistHandler extends Plugin { const modalContent = { id: 'gisthandler', title: 'Gist load error', - message: errorSavingFiles.message || errorSavingFiles, + message: errorSavingFiles.message || errorSavingFiles, modalType: 'alert' } this.call('modal', 'modal', modalContent) } }) - + }) } }