Skip to content

Conversation

schlessera
Copy link
Member

Composer seems to sometimes output arrays of strings through the ComposerIO interface, and this breaks our trim logic that only expects single strings.

This PR turns the logic into a loop over an array of strings instead to avoid throwing a notice.

See https://travis-ci.org/github/wp-cli/automated-tests/jobs/666134609#L2615

@schlessera schlessera requested a review from a team as a code owner March 24, 2020 16:20
@schlessera schlessera added this to the 2.5.0 milestone Mar 24, 2020
@schlessera schlessera merged commit 4909d14 into master Apr 7, 2020
@schlessera schlessera deleted the fix-composerio-array-notice branch April 7, 2020 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant