mirror of https://github.com/webpack/webpack.git
lint
This commit is contained in:
parent
0ddddf46b5
commit
721547b9cf
|
@ -38,11 +38,9 @@ if (module.hot) {
|
|||
if (["abort", "fail"].indexOf(status) >= 0) {
|
||||
log(
|
||||
"warning",
|
||||
`[HMR] Cannot apply update. ${(
|
||||
typeof window !== "undefined"
|
||||
"[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