Closed (fixed)
Project:
Key
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2024 at 13:19 UTC
Updated:
7 Feb 2025 at 16:12 UTC
Jump to comment: Most recent
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
Run the command.
Remove the string argument passed to dt() - copy-pasting bug.
Needs test? (Now that https://git.drupalcode.org/project/key/-/commit/74d0d36d49a199edba0380b6... was landed.)
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mxr576Comment #4
joseph.olstadSeems good
Comment #5
mxr576Could you RTBC this then? Thanks!
Comment #6
rlhawkComment #8
rlhawkComment #10
joseph.olstadPlease tag a release with this fix!