Skip to content

Commit 87963c2

Browse files
refactor: remove unused HOME_DIR variable from generate-docs script
1 parent 7865fcb commit 87963c2

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tests/system.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { jest } from '@jest/globals';
2-
import { USER_PATHS, SERVICE_NAME } from '../src/system/paths.js';
2+
import { USER_PATHS } from '../src/system/paths.js';
33

44
jest.unstable_mockModule('execa', () => ({
55
execa: jest.fn()

tools/generate-docs.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ const CLI_PATH = path.join(ROOT_DIR, 'dist', 'cli.cjs');
1010
const DOCS_DIR = path.join(ROOT_DIR, 'docs');
1111
const DOCS_FILE = path.join(DOCS_DIR, 'commands.md');
1212

13-
const HOME_DIR = os.homedir();
14-
1513
async function runCli(args) {
1614
const { stdout } = await execa('node', [CLI_PATH, ...args]);
1715

0 commit comments

Comments
 (0)