Yoctol / bottender

⚡️ A framework for building conversational user interfaces.
https://bottender.js.org
MIT License
4.21k stars 333 forks source link

fix: add validate function for platform checkbox in create-bottender-app #888

Closed wtflink closed 3 years ago

wtflink commented 3 years ago

As #887 stated, if no platform selected, will cause an error generating the code.

So I add the validate function for the platform inquirer question checkbox.

codecov-io commented 3 years ago

Codecov Report

Merging #888 (1e1a1fc) into master (bd6e933) will decrease coverage by 0.05%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #888      +/-   ##
==========================================
- Coverage   83.23%   83.17%   -0.06%     
==========================================
  Files         108      108              
  Lines        5647     5651       +4     
  Branches     1422     1423       +1     
==========================================
  Hits         4700     4700              
- Misses        919      923       +4     
  Partials       28       28              
Impacted Files Coverage Δ
packages/create-bottender-app/src/index.ts 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update bd6e933...1e1a1fc. Read the comment docs.