Problem/Motivation

drush cr dies to a azure://css is not a directory. error when serve_js or serve_css flysystem setting is enabled.

Steps to reproduce

Enable serve_js and serve_css settings:

$schemes = [
  'azure' => [
    'driver' => 'azure',
    'config' => [
      'name' => 'xxx',
      'key' => 'xxx',
      'container' => 'xxx',
      'endpointSuffix' => 'core.windows.net',
      'protocol' => 'https',
    ],
    'cache' => TRUE,
    'serve_js' => TRUE,
    'serve_css' => TRUE,
  ],
];

$settings['flysystem'] = $schemes;
CommentFileSizeAuthor
#2 3228012-1.patch1.49 KBtuutti

Comments

tuutti created an issue. See original summary.

tuutti’s picture

Status: Active » Needs review
StatusFileSize
new1.49 KB
BryanLund’s picture

Sorry it's taken a while, been quite busy these past few months. Thanks for raising this - it looks good to me - merged in if you're happy to close this? :)

tuutti’s picture

Status: Needs review » Fixed

Seems to work. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.