Drush gesso "New theme" - Not working

Created on 15 May 2024, about 1 month ago
Updated 24 May 2024, about 1 month ago

Problem/Motivation

Drush gesso "New theme" - Command Not working

Steps to reproduce

1. drush gesso "example_gesso"
Result:
Error: Class "Webmozart\PathUtil\Path" not found in Drupal\gesso_helper\Commands\GessoHelperCommands->gesso() (line 116 of /var/www/html/docroot/themes/contrib/gesso/gesso_helper/src/Commands/GessoHelperCommands.php).

116 line: $gesso_path = Path::join($drupalRoot, $this->themeHandler->getPath('gesso'));

Proposed resolution

Seems like "use Webmozart\PathUtil\Path;" is not used by Drush 12.5 anymore.

Remaining tasks

Propose: "use Symfony\Component\Filesystem\Path;"

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

5.3

Component

Code

Created by

🇺🇸United States anudeep.tummala

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024