@forge/cli
12.17.012.18.0-next.8
out/service/cached-config-service.js~
out/service/cached-config-service.jsModified+5−5
Index: package/out/service/cached-config-service.js
===================================================================
--- package/out/service/cached-config-service.js
+++ package/out/service/cached-config-service.js
@@ -3,9 +3,9 @@
exports.CachedConfigService = void 0;
const ANALYTICS_PREFERENCES_KEY = 'analytics-preferences';
const DEFAULT_ENVIRONMENT_KEY = 'default-environment';
const ASSISTANT_NAME_KEY = 'assistant-name';
-const SEASONAL_EFFECTS_KEY = 'seasonal-effects';
+const CUSTOM_EFFECTS_KEY = 'seasonal-effects';
const PROXY_KEY = 'proxy';
class CachedConfigService {
cachedConf;
constructor(cachedConf) {
@@ -51,16 +51,16 @@
else {
this.cachedConf.set(ASSISTANT_NAME_KEY, name);
}
}
- getSeasonalEffects() {
+ getCustomEffects() {
if (process.env.FORGE_DISABLE_SEASONAL_EFFECTS) {
return false;
}
- return this.cachedConf.get(SEASONAL_EFFECTS_KEY) ?? true;
+ return this.cachedConf.get(CUSTOM_EFFECTS_KEY) ?? true;
}
- setSeasonalEffects(enabled) {
- this.cachedConf.set(SEASONAL_EFFECTS_KEY, enabled);
+ setCustomEffects(enabled) {
+ this.cachedConf.set(CUSTOM_EFFECTS_KEY, enabled);
}
}
exports.CachedConfigService = CachedConfigService;
//# sourceMappingURL=cached-config-service.js.map
\ No newline at end of file