This repository was archived by the owner on Jun 8, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -71,9 +71,11 @@ module.exports = function pkginfo(
71
71
}
72
72
73
73
const output = { }
74
- for ( let option of opts ) {
75
- let value = allProps [ option ]
76
- value && ( output [ option ] = value )
74
+ for ( const option of opts ) {
75
+ const value = allProps [ option ]
76
+ if ( value ) {
77
+ output [ option ] = value
78
+ }
77
79
}
78
80
return output
79
81
} )
Original file line number Diff line number Diff line change @@ -4410,6 +4410,11 @@ prepend-http@^2.0.0:
4410
4410
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897"
4411
4411
integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=
4412
4412
4413
+ prettier@^1.16.4 :
4414
+ version "1.16.4"
4415
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.4.tgz#73e37e73e018ad2db9c76742e2647e21790c9717"
4416
+ integrity sha512-ZzWuos7TI5CKUeQAtFd6Zhm2s6EpAD/ZLApIhsF9pRvRtM1RFo61dM/4MSRUA0SuLugA/zgrZD8m0BaY46Og7g==
4417
+
4413
4418
pretty-format@^24.0.0 :
4414
4419
version "24.0.0"
4415
4420
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-24.0.0.tgz#cb6599fd73ac088e37ed682f61291e4678f48591"
You can’t perform that action at this time.
0 commit comments