fix: simplify
This commit is contained in:
parent
d884192066
commit
1f2017c272
|
@ -1,3 +1,3 @@
|
|||
module.exports = (localAsProduction = true) => {
|
||||
if ((!process.env.NODE_ENV && localAsProduction) || process.env.NODE_ENV == 'production') return true;
|
||||
return (!process.env.NODE_ENV && localAsProduction) || process.env.NODE_ENV == 'production';
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue