Closed jtsang4 closed 4 years ago
配置项功能原子化,options.integrated -> options.showWarning 或者 logLevel、silent 之类的。
Merging #9 into master will increase coverage by
100%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #9 +/- ##
=======================================
+ Coverage 0% 100% +100%
=======================================
Files 6 6
Lines 40 44 +4
Branches 5 7 +2
=======================================
+ Hits 0 44 +44
+ Misses 40 0 -40
Impacted Files | Coverage Δ | |
---|---|---|
src/index.ts | 100% <100%> (+100%) |
:arrow_up: |
src/utils/getAccessProviderContent.ts | 100% <100%> (+100%) |
:arrow_up: |
src/utils/index.ts | 100% <100%> (+100%) |
:arrow_up: |
src/utils/getRootContainerContent.ts | 100% <0%> (+100%) |
:arrow_up: |
src/utils/getAccessContent.ts | 100% <0%> (+100%) |
:arrow_up: |
src/utils/getContextContent.ts | 100% <0%> (+100%) |
:arrow_up: |
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 d1e18a0...23d8e36. Read the comment docs.
@sorrycc 已调整为原子级的 showWarning
选项
变化:
showWarning
选项,当值为true
时,插件才会检测src/access.js
文件的"合法性"并给出相应警告unaccessible
属性默认继承父路由