Merge Dev in Staging (#73)
This commit is contained in:
commit
3f6a4c1701
@ -115,7 +115,7 @@ export class BackendVariables {
|
||||
try {
|
||||
await validateOrReject(this, validationOptions);
|
||||
} catch (error: any) {
|
||||
if (process.env["ENV"] === "dev") {
|
||||
if (process.env["ENV"] === "dev" || process.env["ENV"] === 'stg') {
|
||||
throw error;
|
||||
}
|
||||
throw new Error("Some env variables are required!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user