qiniu / nodejs-sdk

Qiniu Resource (Cloud) Storage SDK for Node.js
588 stars 190 forks source link

fix entry encode not work with empty key string and add test cases #406

Closed lihsai0 closed 1 year ago

lihsai0 commented 1 year ago

内部工单 KODO-16923

codecov[bot] commented 1 year ago

Codecov Report

Merging #406 (561a499) into master (a4c329c) will increase coverage by 0.03%. The diff coverage is 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/qiniu/nodejs-sdk/pull/406/graphs/tree.svg?width=650&height=150&src=pr&token=zocjgTR1gl&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu)](https://codecov.io/gh/qiniu/nodejs-sdk/pull/406?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu) ```diff @@ Coverage Diff @@ ## master #406 +/- ## ========================================== + Coverage 84.58% 84.62% +0.03% ========================================== Files 16 16 Lines 1447 1450 +3 Branches 333 333 ========================================== + Hits 1224 1227 +3 Misses 223 223 ``` | [Impacted Files](https://codecov.io/gh/qiniu/nodejs-sdk/pull/406?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu) | Coverage Δ | | |---|---|---| | [qiniu/util.js](https://codecov.io/gh/qiniu/nodejs-sdk/pull/406?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu#diff-cWluaXUvdXRpbC5qcw==) | `96.92% <100.00%> (+0.07%)` | :arrow_up: |