From 30b0e36c7134ea4eb711c95f61cc773354348f09 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Wed, 25 Apr 2018 09:23:39 -0700 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20use=20caps=20for=20node=5Fenv?= =?UTF-8?q?=20check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/app.js b/lib/app.js index dd00614b..ebee26d1 100644 --- a/lib/app.js +++ b/lib/app.js @@ -87,7 +87,7 @@ export class Container extends Component { } const warnUrl = execOnce(() => { - if (process.env.NODE_ENV !== 'PRODUCTION') { + if (process.env.NODE_ENV !== 'production') { warn(`Warning: the 'url' property is deprecated. https://err.sh/next.js/url-deprecated`) } })