We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f2d0f0 commit aeb10cfCopy full SHA for aeb10cf
packages/contentstack-export/src/export/modules/stack.ts
@@ -33,7 +33,11 @@ export default class ExportStack extends BaseClass {
33
this.exportConfig.sourceStackName = stackData.name;
34
}
35
36
- await this.exportStackSettings();
+ if (this.exportConfig.management_token) {
37
+ log(this.exportConfig, 'Skipping stack settings export: Operation is not supported when using a management token.', 'info');
38
+ } else {
39
+ await this.exportStackSettings();
40
+ }
41
if (!this.exportConfig.preserveStackVersion && !this.exportConfig.hasOwnProperty('master_locale')) {
42
//fetch master locale details
43
return this.getLocales();
0 commit comments