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 ad876a4 commit 58cecefCopy full SHA for 58cecef
packages/parameters/src/AppConfigProvider.ts
@@ -15,6 +15,7 @@ class AppConfigProvider extends BaseProvider {
15
private application?: string;
16
private environment?: string;
17
private token: string | undefined;
18
+ private latestConfiguration: string | undefined;
19
20
/**
21
* It initializes the AppConfigProvider class with an optional set of options like region: 'us-west-1'.
@@ -77,7 +78,11 @@ class AppConfigProvider extends BaseProvider {
77
78
const utf8decoder = new TextDecoder();
79
const value = configuration ? utf8decoder.decode(configuration) : undefined;
80
- return value;
81
+ if (value) {
82
+ this.latestConfiguration = value;
83
+ }
84
+
85
+ return this.latestConfiguration;
86
}
87
88
0 commit comments