File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/test/java/com/contentstack/sdk Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 22
33import io .github .cdimascio .dotenv .Dotenv ;
44import io .github .cdimascio .dotenv .DotenvException ;
5- import lombok .var ;
65
7- import java .io .File ;
86import java .rmi .AccessException ;
97
108public class Credentials {
@@ -27,7 +25,7 @@ public static Dotenv getEnv() {
2725 try {
2826 env = Dotenv .load ();
2927 } catch (DotenvException ex ) {
30- System . out . println ( "Could not load.env" );
28+ ex . getLocalizedMessage ( );
3129 }
3230 return env ;
3331 }
@@ -50,7 +48,7 @@ private Credentials() throws AccessException {
5048
5149 public static Stack getStack () {
5250 if (stack == null ) {
53- var envCheck = envChecker ();
51+ envChecker ();
5452 synchronized (Credentials .class ) {
5553 if (stack == null ) {
5654 try {
You can’t perform that action at this time.
0 commit comments