We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83ea461 commit a7c89b3Copy full SHA for a7c89b3
upload-api/migration-sitecore/libs/extractLocales.js
@@ -11,7 +11,7 @@ const extractLocales = (dir) => {
11
for (const item of items) {
12
const fullPath = path?.join?.(dir, item?.name);
13
14
- if (item.isDirectory()) {
+ if (item?.isDirectory()) {
15
extractLocales?.(fullPath); // Proper recursion
16
} else if (item?.isFile() && item?.name === "data.json.json") {
17
try {
0 commit comments