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

refactor: motify userconfig #3835

Merged
merged 8 commits into from
Nov 18, 2020
Merged

refactor: motify userconfig #3835

merged 8 commits into from
Nov 18, 2020

Conversation

SoloJiang
Copy link
Collaborator

No description provided.

@codecov-io
Copy link

Codecov Report

Merging #3835 (55a2649) into release-next (cf8d660) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@              Coverage Diff              @@
##           release-next    #3835   +/-   ##
=============================================
  Coverage         89.72%   89.72%           
=============================================
  Files                12       12           
  Lines               146      146           
  Branches             26       25    -1     
=============================================
  Hits                131      131           
  Misses               13       13           
  Partials              2        2           
Impacted Files Coverage Δ
packages/plugin-stark-module/src/index.ts 90.32% <100.00%> (ø)

? userConfig[configKey]
: defaultConfig[configKey];
if (!USER_CONFIG_KEY_WITHOUT_BUILD.includes(configKey)
&& Object.prototype.hasOwnProperty.call(defaultConfig, configKey)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

不需要进行额外的 defaultConfig 判断

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants