Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
d7a0541d81 | |||
c03e17d522 |
6
dist/index.js
vendored
6
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "qenv",
|
"name": "qenv",
|
||||||
"version": "1.0.7",
|
"version": "1.0.8",
|
||||||
"description": "promised environments",
|
"description": "promised environments",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
|
@ -11,7 +11,9 @@ export class Qenv {
|
|||||||
|
|
||||||
//handle missing variables
|
//handle missing variables
|
||||||
if (this.missingEnvVars.length > 0){
|
if (this.missingEnvVars.length > 0){
|
||||||
plugins.beautylog.error("Some Env variables could not be resolved:")
|
plugins.beautylog.info("Required Env Vars are:")
|
||||||
|
console.log(this.requiredEnvVars);
|
||||||
|
plugins.beautylog.error("However some Env variables could not be resolved:");
|
||||||
console.log(this.missingEnvVars);
|
console.log(this.missingEnvVars);
|
||||||
if(failOnMissing){
|
if(failOnMissing){
|
||||||
plugins.beautylog.error("Exiting!")
|
plugins.beautylog.error("Exiting!")
|
||||||
|
Reference in New Issue
Block a user