Skip to content

Commit

Permalink
Merge pull request #1702 from Automattic/fix/eslint
Browse files Browse the repository at this point in the history
style: fix issues found by ESLint
  • Loading branch information
sjinks authored Feb 22, 2024
2 parents c7856da + aa4a1e0 commit 0eb9b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/phpmyadmin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export class PhpMyAdminCommand {
} );
this.stopProgressTracker();

if ( error.graphQLErrors?.find( e => e.message === 'Unauthorized' ) ) {
if ( error.graphQLErrors?.find( gqlError => gqlError.message === 'Unauthorized' ) ) {
exit.withError(
'You do not have sufficient permission to access phpMyAdmin for this environment.'
);
Expand Down

0 comments on commit 0eb9b37

Please sign in to comment.