Double slash in path of downloaded module I get a strange behaviour on 2 websites under Drupal 8.
When I download a module via Drush, the path contain two consecutive slashes like this.


  Project key_value (8.x-1.1) downloaded to /home/www/example/sited8//modules/contrib/key_value.


In admin/config/media/file-system, no extra slash is shown in the path settings.


  URL de base des fichiers publics&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://example.com/sites/default/files
  Chemin du système public de fichier&nbsp;sites/default/files


Perhaps it could be set in another part of the website.

Could it be a bug?
It's an artifact of how Drush builds the path. It looks at your Drupal project dir, and where it's placing the the project download, then appends it together without concern for a trailing slash in the Drupal project dir. It has nothing to do with your Drupal project file settings

Is it bug? Perhaps if you consider it a UX problem. As far as POSIX is concerned, the double slash is treated as one so it shouldn't matter in terms of referencing the directory. Whatever the case, drush pm-download is deprecated in later versions.