Skip to content

Commit 8a90954

Browse files
authored
Merge pull request #902 from contentstack/fix/CS-40061
fix: branch enabled master locale issue
2 parents c354226 + e33402c commit 8a90954

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/contentstack-export/src/export/module-exporter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class ModuleExporter {
7474
}
7575

7676
// set master locale to config
77-
if (moduleName === 'stack' && exportedModuleResponse.code) {
77+
if (moduleName === 'stack' && exportedModuleResponse?.code) {
7878
this.exportConfig.master_locale = { code: exportedModuleResponse.code };
7979
}
8080
}

0 commit comments

Comments
 (0)