Skip to content

Commit

Permalink
v2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
biaov committed Mar 26, 2024
1 parent 9991cd0 commit 4813f08
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
dist
node_modules
.log
directory.md
directory.md
.git
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mine-auto-cli",
"private": false,
"version": "2.2.0",
"version": "2.2.1",
"exports": "./dist/index.js",
"main": "./dist/index.js",
"type": "module",
Expand Down
1 change: 0 additions & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { rewritePackage, copyAssets } from './hooks.js'
try {
await Promise.all([rewritePackage(), copyAssets()])
} catch (e) {
console.log(e)
process.exit(1)
}
})()
2 changes: 0 additions & 2 deletions src/commander/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { readFileSync, writeFileSync } from 'fs'
import { join } from 'path'
import log from '@/utils/log'
import { gitCmds, buildCmds } from './cmds'
import { simplifyMkdir } from './mkdir'

const { success, info, error } = log

Expand Down Expand Up @@ -109,7 +108,6 @@ export const simplifyVersion = async (cmd: string) => {
* 定义顶级命令的 action
*/
export const handleArguments = (cmd: string, env?: string) => {
console.log(cmd.includes('mkdir'), '--')
/**
* 处理 build[:环境] 命令
*/
Expand Down

0 comments on commit 4813f08

Please sign in to comment.