Skip to content

Commit

Permalink
Update 满足合并需要
Browse files Browse the repository at this point in the history
  • Loading branch information
win-syswow64 authored Jan 3, 2025
1 parent df148af commit 72b4f2c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugin/tarot/tarot.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,31 +63,31 @@ func init() {
if _, err := os.Stat(MajorArcana); os.IsNotExist(err) {
err := os.MkdirAll(MajorArcana, 0755)
if err != nil {
panic(err)
return
}
}

MinorArcana := engine.DataFolder() + "MinorArcana"
if _, err := os.Stat(MinorArcana); os.IsNotExist(err) {
err := os.MkdirAll(MinorArcana, 0755)
if err != nil {
panic(err)
return
}
}

Reverse_MajorArcana := engine.DataFolder() + "Reverse/MajorArcana"

Check failure on line 78 in plugin/tarot/tarot.go

View workflow job for this annotation

GitHub Actions / lint

var-naming: don't use underscores in Go names; var Reverse_MajorArcana should be ReverseMajorArcana (revive)
if _, err := os.Stat(Reverse_MajorArcana); os.IsNotExist(err) {
err := os.MkdirAll(Reverse_MajorArcana, 0755)
if err != nil {
panic(err)
return
}
}

Reverse_MinorArcana := engine.DataFolder() + "Reverse/MinorArcana"

Check failure on line 86 in plugin/tarot/tarot.go

View workflow job for this annotation

GitHub Actions / lint

var-naming: don't use underscores in Go names; var Reverse_MinorArcana should be ReverseMinorArcana (revive)
if _, err := os.Stat(Reverse_MinorArcana); os.IsNotExist(err) {
err := os.MkdirAll(Reverse_MinorArcana, 0755)
if err != nil {
panic(err)
return
}
}

Expand Down

0 comments on commit 72b4f2c

Please sign in to comment.