Skip to content

Commit b50f5f8

Browse files
committed
chore: be explicit with comparison
1 parent 7c1f152 commit b50f5f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ export abstract class DarkModeBase extends WebPlugin implements DarkModePlugin {
275275
actions.push(StatusBar.setStyle({ style: statusBarStyle }))
276276
}
277277

278-
if (actions.length) {
278+
if (actions.length > 0) {
279279
await Promise.all(actions)
280280
}
281281
}

0 commit comments

Comments
 (0)