drush key:provider-list --storage-method is broken after 1.18

Created on 8 July 2024, 8 months ago

Problem/Motivation

The following commit broke this command.

vendor/bin/drush key:provider-list --storage-method=file
[08-Jul-2024 13:11:22 UTC] TypeError: Drush\Utils\StringUtils::interpolate(): Argument #2 ($context) must be of type array, int given, called in /mnt/files/local_mount/build/vendor/drush/drush/includes/output.inc on line 23 in /mnt/files/local_mount/build/vendor/drush/drush/src/Utils/StringUtils.php on line 44 #0 /mnt/files/local_mount/build/vendor/drush/drush/includes/output.inc(23): Drush\Utils\StringUtils::interpolate()
#1 /mnt/files/local_mount/build/web/modules/contrib/key/src/Commands/KeyCommands.php(317): dt()
#2 [internal function]: Drupal\key\Commands\KeyCommands->providerList()
#3 /mnt/files/local_mount/build/vendor/consolidation/annotated-command/src/CommandProcessor.ph

Steps to reproduce

Run the command.

Proposed resolution

Remove the string argument passed to dt() - copy-pasting bug.

Remaining tasks

Needs test? (Now that https://git.drupalcode.org/project/key/-/commit/74d0d36d49a199edba0380b6... was landed.)

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary mxr576 Hungary

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024