File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -313,6 +313,7 @@ class GitHub {
313313 async getNotificationDetails ( notification ) {
314314 if ( notification . subject . type === "RepositoryInvitation" || notification . subject . type === "RepositoryVulnerabilityAlert" || ! notification . subject . url ) {
315315 const details = { ...notification . repository } ;
316+ /* eslint-disable camelcase */
316317 switch ( notification . subject . type ) {
317318 case "RepositoryInvitation" :
318319 details . html_url = `${ notification . repository . html_url } /invitations` ;
@@ -332,6 +333,7 @@ class GitHub {
332333 break ;
333334 default :
334335 }
336+ /* eslint-enable camelcase */
335337 return details ;
336338 }
337339 const apiEndpoint = notification . subject . url ;
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class Storage { // eslint-disable-line no-redeclare
3030 }
3131
3232 removeValues ( keys ) {
33- return browser . storage [ this . area ] . remove ( keys . map ( this . getStorageKey , this ) ) ;
33+ return browser . storage [ this . area ] . remove ( keys . map ( ( key ) => this . getStorageKey ( key ) ) ) ;
3434 }
3535}
3636window . Storage = Storage ;
You can’t perform that action at this time.
0 commit comments