diff --git a/package.json b/package.json index e50092b..50a8709 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@athenna/core", - "version": "1.2.2", + "version": "1.2.3", "description": "", "license": "MIT", "author": "João Lenon ", diff --git a/src/Ignite.ts b/src/Ignite.ts index 20ef287..a515223 100644 --- a/src/Ignite.ts +++ b/src/Ignite.ts @@ -159,7 +159,7 @@ export class Ignite { .trim() if (env.includes('process.env.NODE_ENV')) { - env = env.split('process.env.NODE_ENV')[1].replace('/||/g', '').trim() + env = env.split('process.env.NODE_ENV')[1].replace(/\|\|/g, '').trim() } process.env.NODE_ENV = env