CHORE: go fmt
This commit is contained in:
@@ -135,7 +135,7 @@ Splash2len=%d
|
|||||||
}
|
}
|
||||||
inistr.WriteString(roomFolder.Cfg.ToIni())
|
inistr.WriteString(roomFolder.Cfg.ToIni())
|
||||||
|
|
||||||
err = checkCredits(&roomFolder);
|
err = checkCredits(&roomFolder)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("error checking credits in folder %s: %+v", roomFolder.Path, err)
|
return fmt.Errorf("error checking credits in folder %s: %+v", roomFolder.Path, err)
|
||||||
}
|
}
|
||||||
@@ -211,7 +211,6 @@ func copyFolder(roomFolder *RoomFolder, outpath string) error {
|
|||||||
log.Info(padd.Render(textCopy1Comb))
|
log.Info(padd.Render(textCopy1Comb))
|
||||||
log.Info(padd.Render(textCopy2Comb))
|
log.Info(padd.Render(textCopy2Comb))
|
||||||
|
|
||||||
|
|
||||||
if roomFolder.IsDefaultCfg {
|
if roomFolder.IsDefaultCfg {
|
||||||
log.Info(padd.Render(styleYellowtext.Render("room.ini was not found, using default settings")))
|
log.Info(padd.Render(styleYellowtext.Render("room.ini was not found, using default settings")))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user