memoir-cli 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memoir-cli",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Your AI remembers everything. Sync it everywhere.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -6,7 +6,7 @@ import ora from 'ora';
6
6
  import boxen from 'boxen';
7
7
  import inquirer from 'inquirer';
8
8
  import { execSync } from 'child_process';
9
- import { loadConfig } from '../config.js';
9
+ import { getConfig } from '../config.js';
10
10
  import { adapters } from '../adapters/index.js';
11
11
 
12
12
  async function listFiles(dir, prefix = '') {
@@ -37,7 +37,7 @@ function isBinaryFile(filePath) {
37
37
  }
38
38
 
39
39
  export async function viewCommand() {
40
- const config = await loadConfig();
40
+ const config = await getConfig();
41
41
  if (!config) {
42
42
  console.log(chalk.red('\n✖ Not configured yet. Run: memoir init\n'));
43
43
  return;