fix parentheses, lint

This commit is contained in:
Sebastian Alff 2022-05-24 21:23:25 +02:00
parent b8270acc76
commit a4b95c88d9
1 changed files with 8 additions and 6 deletions

View File

@ -16,9 +16,10 @@ if (module.hot) {
if (!updatedModules) {
log(
"warning",
"[HMR] Cannot find update. " + typeof window !== "undefined"
? "Need to do a full reload!"
: "Please reload manually!"
"[HMR] Cannot find update. " +
(typeof window !== "undefined"
? "Need to do a full reload!"
: "Please reload manually!")
);
log(
"warning",
@ -45,9 +46,10 @@ if (module.hot) {
if (["abort", "fail"].indexOf(status) >= 0) {
log(
"warning",
"[HMR] Cannot apply update. " + typeof window !== "undefined"
? "Need to do a full reload!"
: "Please reload manually!"
"[HMR] Cannot apply update. " +
(typeof window !== "undefined"
? "Need to do a full reload!"
: "Please reload manually!")
);
log("warning", "[HMR] " + log.formatError(err));
if (typeof window !== "undefined") {