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 0c4a412 commit 8f27474Copy full SHA for 8f27474
src/lib/common/src/util/common.ts
@@ -338,8 +338,8 @@ function randomString(length: number, charSet?: string) {
338
}
339
340
function enableGlobalRegion(config: string, rawConfig: string, format: FormatType) {
341
- const rawConfigObj = getFormattedObject(config, format);
342
- const configObj = getFormattedObject(rawConfig, format);
+ const rawConfigObj = getFormattedObject(rawConfig, format);
+ const configObj = getFormattedObject(config, format);
343
if (!rawConfigObj['global-options']['supported-regions'].includes('us-east-1')) {
344
console.log('us-east-1 is not inlcuded in supported-regions. Adding.');
345
configObj['global-options']['supported-regions'].push('us-east-1');
0 commit comments