1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Don’t use caps for node_env check

This commit is contained in:
Tim Neutkens 2018-04-25 09:23:39 -07:00
parent fe24333edc
commit 30b0e36c71

View file

@ -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`)
}
})