Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: custom env by options.env #107

Merged
merged 2 commits into from
May 31, 2023
Merged

feat: custom env by options.env #107

merged 2 commits into from
May 31, 2023

Conversation

fengmk2
Copy link
Member

@fengmk2 fengmk2 commented May 31, 2023

closes #106

refactor: generator to async await

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)
Description of change

closes #106

refactor: generator to async await
@codecov
Copy link

codecov bot commented May 31, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +6.15 🎉

Comparison is base (5420a47) 86.38% compared to head (2dcaa06) 92.54%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #107      +/-   ##
==========================================
+ Coverage   86.38%   92.54%   +6.15%     
==========================================
  Files          14       15       +1     
  Lines        1991     1999       +8     
  Branches      287      329      +42     
==========================================
+ Hits         1720     1850     +130     
+ Misses        271      149     -122     
Impacted Files Coverage Δ
lib/agent_worker.js 100.00% <100.00%> (ø)
lib/app_worker.js 100.00% <100.00%> (+8.20%) ⬆️
lib/master.js 97.41% <100.00%> (+8.71%) ⬆️
lib/utils/messenger.js 98.36% <100.00%> (+3.27%) ⬆️
lib/utils/mode/impl/worker_threads/app.js 74.72% <100.00%> (ø)
lib/utils/options.js 90.47% <100.00%> (+0.47%) ⬆️
lib/utils/terminate.js 97.46% <100.00%> (+40.50%) ⬆️
lib/utils/timer.js 100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@fengmk2 fengmk2 merged commit 4b11bf9 into master May 31, 2023
10 of 11 checks passed
@fengmk2 fengmk2 deleted the support-options-env branch May 31, 2023 07:44
fengmk2 pushed a commit that referenced this pull request May 31, 2023
[skip ci]

## [2.1.0](v2.0.1...v2.1.0) (2023-05-31)

### Features

* custom env by options.env ([#107](#107)) ([4b11bf9](4b11bf9))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

start 方法支持 env 参数设置 prod
1 participant