Skip to content

fix(toolkit/pro, plugin/hwc): fix the error before build and publish#32

Merged
h-ivy merged 1 commit intoopentiny:devfrom
fengyon:fengyon/fix-build-error
May 9, 2023
Merged

fix(toolkit/pro, plugin/hwc): fix the error before build and publish#32
h-ivy merged 1 commit intoopentiny:devfrom
fengyon:fengyon/fix-build-error

Conversation

@fengyon
Copy link
Contributor

@fengyon fengyon commented May 8, 2023

PR

1、修复hwc插件运行npm run build命令发现的错误

src/lib/hwc-mysql/commands/create.ts:268:20 - error TS2339: Property 'ans' does not exist on type '{ res: any; answer: any; }'.
268       ans = result.ans;

2、修复pro套件tslint检测出的错误

ERROR: C:/WorkSpaces/fengyon-git/tiny-cli/packages/toolkits/pro/src/lib/init.ts:76:9 
  "TemplatePath" must be in lowerCamelCase or UPPER_CASE

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our Commit Message Guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Copy link
Contributor

@h-ivy h-ivy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@h-ivy h-ivy merged commit 30b01d0 into opentiny:dev May 9, 2023
@fengyon fengyon deleted the fengyon/fix-build-error branch May 10, 2023 11:38
@wjiangwang wjiangwang added toolkit-pro toolkit-pro plugin-hwc plugin-hwc labels Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plugin-hwc plugin-hwc toolkit-pro toolkit-pro

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants