Skip to content

Commit 7a447b8

Browse files
committed
refactor(cli): 统一stdio辅助函数导入路径风格
- 将cli.tsx和cli-args.ts中stdioHelpers的导入路径调整为统一的stdio-helpers格式 - 规范了模块文件命名,提高代码一致性 - 未改动核心功能逻辑,仅更改导入路径字符串
1 parent 545a4f5 commit 7a447b8

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/cli/src/cli-args.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import type { Argv } from "yargs";
77
import Yargs from "yargs";
88
import { getCliVersion } from "./utils/version";
9-
import { writeStderrLine } from "./utils/stdioHelpers";
9+
import { writeStderrLine } from "./utils/stdio-helpers";
1010
import { hideBin } from "yargs/helpers";
1111

1212
// UUID v4 regex pattern for validation

packages/cli/src/cli.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { setShellIfWindows, getProjectCode } from "@vegamo/deepcode-core";
77
import { checkForNpmUpdate, promptForPendingUpdate } from "./common/update-check";
88
import { AppContainer } from "./ui";
99
import { parseArguments } from "./cli-args";
10-
import { writeStderrLine, writeStdoutLine } from "./utils/stdioHelpers";
10+
import { writeStderrLine, writeStdoutLine } from "./utils/stdio-helpers";
1111
import { getPackageJson } from "./utils/package";
1212
import { CLI_VERSION } from "./generated/git-commit";
1313

0 commit comments

Comments
 (0)