Skip to content

Commit

Permalink
beta for local playground [beta]
Browse files Browse the repository at this point in the history
  • Loading branch information
maorb-dev committed May 1, 2024
1 parent da59341 commit 14c4651
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions lib/key-value-manager/key-value-manager.abstract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import * as process from 'process';
import { JsonValue } from 'types/general';
import { isDefined } from 'types/guards';
import { GetOptions, KeyValueData } from 'types/key-value-manager';
import { isLocalEnvironment } from 'utils/env';
import { Logger } from 'utils/logger';

export abstract class KeyValueManager {
Expand Down Expand Up @@ -49,10 +48,10 @@ export abstract class KeyValueManager {
}

protected initData(): void {
if (isLocalEnvironment()) {
this.cachedData = process.env as KeyValueData;
return;
}
// if (isLocalEnvironment()) { // FIXME: revert
// this.cachedData = process.env as KeyValueData;
// return;
// }

this.cachedData = this.readData();
if (!isDefined(this.cachedData)) {
Expand Down

0 comments on commit 14c4651

Please sign in to comment.