Skip to content

Commit

Permalink
Fix LocalForageConfigStore getByKey and upsert
Browse files Browse the repository at this point in the history
- getByKey is now aware of null and not stringifying it
- upsert will try to parse the values
  • Loading branch information
ShriekinNinja committed Mar 6, 2024
1 parent 39dbad1 commit fe1541d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ts/packages/cli/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ export abstract class BaseCommand<T extends typeof Command> extends Command {
});
const cliConfigData = JSON.parse(compiledCliConfigData);
this.config.cli.data = cliConfigData;
this.log(this.config.configu.file);
this.log(`cli config: ${JSON.stringify(this.config.cli)}`);
} catch (error) {
throw new Error(`invalid configuration file ${error.message}`);
}
Expand Down

0 comments on commit fe1541d

Please sign in to comment.