Skip to content

Commit 8a51a73

Browse files
committed
updating config path to use our vendor name
1 parent 505f32c commit 8a51a73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/PatternLab/Config.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ public static function init($baseDir = "", $verbose = true) {
129129
self::$userConfigDirDash = self::$options["baseDir"].self::$userConfigDirDash;
130130
self::$userConfigDir = (is_dir(self::$userConfigDirDash)) ? self::$userConfigDirDash : self::$userConfigDirClean;
131131
self::$userConfigPath = self::$userConfigDir.DIRECTORY_SEPARATOR.self::$userConfig;
132-
self::$plConfigPath = self::$options["baseDir"]."vendor/pattern-lab/core/".self::$plConfigPath;
132+
// @todo Make folder name (i.e. `drupal-pattern-lab`) a variable
133+
self::$plConfigPath = self::$options["baseDir"]."vendor/drupal-pattern-lab/core/".self::$plConfigPath;
133134

134135
// can't add __DIR__ above so adding here
135136
if (!is_dir(self::$userConfigDir)) {

0 commit comments

Comments
 (0)