File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ func NewApplication(envPath string) *Application {
2929
3030 if err := app .vip .ReadInConfig (); err != nil {
3131 color .Errorln ("Invalid Config error: " + err .Error ())
32- os .Exit (1 )
32+ os .Exit (0 )
3333 }
3434 }
3535
@@ -39,13 +39,13 @@ func NewApplication(envPath string) *Application {
3939 color .Errorln ("Please initialize APP_KEY first." )
4040 color .Default ().Println ("Create a .env file and run command: go run . artisan key:generate" )
4141 color .Default ().Println ("Or set a system variable: APP_KEY={32-bit number} go run ." )
42- os .Exit (1 )
42+ os .Exit (0 )
4343 }
4444
4545 if len (appKey .(string )) != 32 {
4646 color .Errorln ("Invalid APP_KEY, the length must be 32, please reset it." )
4747 color .Warningln ("Example command: \n go run . artisan key:generate" )
48- os .Exit (1 )
48+ os .Exit (0 )
4949 }
5050 }
5151
You can’t perform that action at this time.
0 commit comments