10000 fix: compatibility with old browsers · webpack/webpack-dev-server@c97b669 · GitHub
[go: up one dir, main page]

Skip to content

Commit c97b669

Browse files
committed
fix: compatibility with old browsers
1 parent 751214a commit c97b669

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client-src/utils/log.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ const logEnabledFeatures = (features) => {
2727
let logString = "Server started:";
2828

2929
// Server started: Hot Module Replacement enabled, Live Reloading enabled, Overlay disabled.
30-
for (const [key, value] of Object.entries(features)) {
31-
logString += ` ${key} ${value ? "enabled" : "disabled"},`;
30+
for (const key of Object.keys(features)) {
31+
logString += ` ${key} ${features[key] ? "enabled" : "disabled"},`;
3232
}
3333
// replace last comma with a period
3434
logString = logString.slice(0, -1).concat(".");

0 commit comments

Comments
 (0)
0