Skip to content

Commit 9622f0b

Browse files
chore(backend): fix lint issues (#47)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent eace548 commit 9622f0b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ func main() {
4444
if !fiber.IsChild() {
4545
log.Instance.Info("Starting QuickNote...", zap.String("version", version.GetFormatVersion()))
4646
}
47+
4748
if err := orm.Init(config.Instance.Database.Type, config.Instance.Database.URL); err != nil {
4849
log.Instance.Fatal("Failed to initialize database",
4950
zap.Error(err),

pkg/version/version.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ func GetShortCommit() string {
2323
if len(commit) > 7 {
2424
return commit[:7]
2525
}
26+
2627
return commit
2728
}
2829

0 commit comments

Comments
 (0)