Skip to content

Commit

Permalink
fix: yarn h-uni APPDevTool 进程未退出
Browse files Browse the repository at this point in the history
`yarn h-uni APPDevTool` 进程未退出
  • Loading branch information
hewx815 committed Oct 27, 2023
1 parent 0fb40ae commit f32b1d8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions for-vue2/src/packages/plugins/APPDevTool/common/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ import { log } from '../utils.js';

export default function help() {
const data: Record<string, string> = {
'--init': '初始化 APP 模板(同时初始化 android 和 ios 模板)',
'--initAndroid': '初始化 android 模板',
'--initIos': '初始化 ios 模板',
'--initPath': '初始化模板的位置(默认为当前目录下"android"、"ios"文件夹))',
'--dev': '编译 APP (同时编译 android 和 ios)',
'--devAndroid': '编译 android',
'--devIos': '编译 ios',
Expand All @@ -28,4 +24,7 @@ export default function help() {
${content}
`);

// eslint-disable-next-line no-process-exit
process.exit();
}

0 comments on commit f32b1d8

Please sign in to comment.