Skip to content

Commit e285e78

Browse files
Merge branch 'dev' into feature/uikit-refactor-and-enhancements
2 parents 22fc44a + 59de7ac commit e285e78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/engine-twig-php/lib/engine_twig_php.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ const engine_twig_php = {
210210
// get the path to the top-level folder of this pattern
211211
// ex. /Users/bradfrost/sites/pattern-lab/packages/edition-twig/source/_patterns/00-atoms
212212
const fullFolderPath = `${
213-
tempPartial.split(selectedNamespace[0].id)[0]
214-
}${selectedNamespace[0].id}`;
213+
tempPartial.split(selectedNamespace[0].paths[index])[0]
214+
}${selectedNamespace[0].paths[index]}`;
215215

216216
// then tease out the folder name itself (including the # prefix)
217217
// ex. 00-atoms

0 commit comments

Comments
 (0)