1 parent a58c408 commit 59c5e51Copy full SHA for 59c5e51
1 file changed
engine/config.go
@@ -504,10 +504,9 @@ func (ac *Config) MustServe(mux *http.ServeMux) error {
504
if !ac.quietMode && !ac.singleFileMode && !ac.simpleMode && !ac.noBanner {
505
// Output a colorful ansi logo if a proper terminal is available
506
fmt.Println(Banner(ac.versionString, ac.description))
507
- } else if !ac.quietMode {
+ } else if !ac.quietMode && !ac.singleFileMode {
508
timestamp := time.Now().Format("2006-01-02 15:04")
509
to.OutputTags("<cyan>" + ac.versionString + "<darkgray> - " + timestamp + "<off>")
510
- // colorstring.Println("[cyan]" + ac.versionString + "[dark_gray] - " + timestamp + "[reset]")
511
}
512
513
// Disable the database backend if the BoltDB filename is the /dev/null file (or OS equivalent)
0 commit comments