mine-auto-cli 2.2.0 → 2.2.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/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { execSync as O } from "child_process";
|
|
|
6
6
|
import { readFileSync as k, writeFileSync as b, existsSync as G, readdirSync as P } from "fs";
|
|
7
7
|
import { join as u } from "path";
|
|
8
8
|
import A from "log-symbols";
|
|
9
|
-
const E = "mine-auto-cli", J = "2.2.
|
|
9
|
+
const E = "mine-auto-cli", J = "2.2.1", B = "./dist/index.js", R = "./dist/index.js", U = "module", _ = {
|
|
10
10
|
auto: "bin/mine-auto-cli.js"
|
|
11
11
|
}, z = {
|
|
12
12
|
name: "biaov",
|
|
@@ -136,7 +136,7 @@ const re = (e) => ["git add -A", `git commit -m ${e}`, "git push"], ce = (e, t)
|
|
|
136
136
|
const o = t.split("@")[1];
|
|
137
137
|
o ? (S(o), a(), h("命令执行完成")) : j(e);
|
|
138
138
|
}, me = (e, t) => {
|
|
139
|
-
if (
|
|
139
|
+
if (e.includes("build"))
|
|
140
140
|
return pe(e, t);
|
|
141
141
|
if (e.includes("version"))
|
|
142
142
|
return le(e);
|