Skip to content

Commit

Permalink
Issue nuvoleweb#328: Prevent requiring absolute paths in base pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
omarlopesino committed May 21, 2021
1 parent e0b930e commit 26b20fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin/PatternBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function getLibraryDefinitions() {

// Attach pattern base path to assets.
if (!empty($definition['base path'])) {
$base_path = str_replace($this->root, '', $definition['base path']);
$base_path = str_replace($this->root . DIRECTORY_SEPARATOR, '', $definition['base path']);
$this->processLibraries($items, $base_path);
}

Expand Down

0 comments on commit 26b20fa

Please sign in to comment.