Skip to content

Commit

Permalink
Fixed double empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
evg4b committed Apr 21, 2024
1 parent 50741db commit 2bdff24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions internal/uncors/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,16 @@ func (app *App) createServer(ctx context.Context, uncorsConfig *config.UncorsCon
func (app *App) Restart(ctx context.Context, uncorsConfig *config.UncorsConfig) {
defer app.waitGroup.Done()
app.waitGroup.Add(1)
log.Print("\n")
log.Print("")
log.Info("Restarting server....")
log.Print("\n")
log.Print("")
err := app.internalShutdown(ctx)
if err != nil {
panic(err) // TODO: refactor this error handling
}

log.Info(uncorsConfig.Mappings.String())
log.Print("\n")
log.Print("")
app.initServer(ctx, uncorsConfig)
}

Expand Down
2 changes: 1 addition & 1 deletion internal/version/new_version_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func CheckNewVersion(ctx context.Context, client contracts.HTTPClient, rawCurren

if lastVersion.GreaterThan(currentVersion) {
log.Infof(uncors.NewVersionIsAvailable, currentVersion.String(), lastVersion.String())
log.Info("\n")
log.Info("")
} else {
log.Debug("Version is up to date")
}
Expand Down

0 comments on commit 2bdff24

Please sign in to comment.