fix parentheses, lint
This commit is contained in:
parent
b8270acc76
commit
a4b95c88d9
|
@ -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") {
|
||||
|
|
Loading…
Reference in New Issue