Skip to content

Commit

Permalink
fix: 修复脚手架生成项目上报 (#435)
Browse files Browse the repository at this point in the history
* fix: 修复脚手架生成项目上报

* ci: 暂时取消 Node 16 环境,提高成功率

避免遇到以下错误:
```
npm ERR! code ECONNRESET
npm ERR! network aborted
```

---------

Co-authored-by: alexqxxu <alexqxxu@tencent.com>
  • Loading branch information
xqxian and alexqxxu committed Jun 18, 2023
1 parent 6ece76f commit eabb9a8
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 118 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- 10
- 12
- 14
- 16
# - 16
architecture:
- x64
# an extra windows-x86 run:
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 17 additions & 49 deletions packages/feflow-cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/feflow-cli/src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ export default class Feflow {
}
// 有副作用,暂无好方法改造
if (cmdName === 'help' && registeredCommand) {
registeredCommand.runFn.call(this, ctx);
return;
return registeredCommand.runFn.call(this, ctx);
}
if (commandLine.length === 0) {
return;
Expand Down
Loading

0 comments on commit eabb9a8

Please sign in to comment.