improve log output
This commit is contained in:
parent
b9d1080829
commit
c03e17d522
6
dist/index.js
vendored
6
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -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!")
|
||||||
|
Loading…
Reference in New Issue
Block a user