Skip to content

Commit 278b8c6

Browse files
hsubox76Feiyang1
andauthored
use for/of
Co-authored-by: Feiyang <[email protected]>
1 parent 2046fad commit 278b8c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check_changeset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function getHighestBump(changesetPackages: Record<string, string>) {
4040
let highestBump = bumpRank.patch;
4141
let highestBumpText = 'patch';
4242
let bumpPackage = '';
43-
for (const pkgName in changesetPackages) {
43+
for (const pkgName of Object.keys(changesetPackages)) {
4444
if (
4545
pkgName !== 'firebase' &&
4646
bumpRank[changesetPackages[pkgName]] > highestBump

0 commit comments

Comments
 (0)