@@ -59,7 +59,7 @@ function checkControl(req) {
5959function controlledOnly ( req , res ) {
6060 return checkControl ( req ) . catch ( ( ) => {
6161 res ( errors . cannotAccessInControlMode )
62- return Promise . reject ( ) ;
62+ return Promise . reject ( )
6363 } )
6464}
6565
@@ -87,9 +87,8 @@ function tryOverrideControl(req) {
8787 exports : req . exports ,
8888 }
8989 return browser . runtime . sendMessage ( { restart : true , controller : plugin } )
90- }
91- else {
92- return Promise . reject ( ) ;
90+ } else {
91+ return Promise . reject ( )
9392 }
9493 } )
9594}
@@ -165,7 +164,9 @@ router.post('/close', (req, res) => {
165164 if ( ! UiState . isSaved ( ) ) {
166165 ModalState . showAlert ( {
167166 title : 'Close project without saving' ,
168- description : `${ plugin . name } is trying to close a project, are you sure you want to load this project and lose all unsaved changes?` ,
167+ description : `${
168+ plugin . name
169+ } is trying to close a project, are you sure you want to load this project and lose all unsaved changes?`,
169170 confirmLabel : 'proceed' ,
170171 cancelLabel : 'cancel' ,
171172 } ) . then ( result => {
@@ -209,7 +210,9 @@ router.post('/project', (req, res) => {
209210 WindowSession . focusIDEWindow ( )
210211 ModalState . showAlert ( {
211212 title : 'Open project without saving' ,
212- description : `${ plugin . name } is trying to load a project, are you sure you want to load this project and lose all unsaved changes?` ,
213+ description : `${
214+ plugin . name
215+ } is trying to load a project, are you sure you want to load this project and lose all unsaved changes?`,
213216 confirmLabel : 'proceed' ,
214217 cancelLabel : 'cancel' ,
215218 } ) . then ( result => {
0 commit comments