Skip to content

Commit eef72fd

Browse files
committed
fix: fix isWindows
1 parent 552084e commit eef72fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const { version } = require("process");
2222
const { getPackageInfo } = require("local-pkg");
2323

2424
async function run() {
25-
const isWindows = version().includes("Windows");
25+
const isWindows = version.includes("Windows");
2626
log.success("当前 node 版本为", version);
2727

2828
const originPackageFile = "package.json";

0 commit comments

Comments
 (0)