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 72b4f2c commit 560ac8b
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions plugin/tarot/tarot.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ func init() {
}
}

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

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, 386)

ReverseMajorArcana declared and not used

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

View workflow job for this annotation

GitHub Actions / Build binary CI (windows, amd64)

ReverseMajorArcana declared and not used

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, arm)

ReverseMajorArcana declared and not used

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, amd64)

ReverseMajorArcana declared and not used

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

View workflow job for this annotation

GitHub Actions / lint

ReverseMajorArcana declared and not used

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

View workflow job for this annotation

GitHub Actions / lint

ReverseMajorArcana declared and not used
if _, err := os.Stat(Reverse_MajorArcana); os.IsNotExist(err) {

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, 386)

undefined: Reverse_MajorArcana

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

View workflow job for this annotation

GitHub Actions / Build binary CI (windows, amd64)

undefined: Reverse_MajorArcana

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, arm)

undefined: Reverse_MajorArcana

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, amd64)

undefined: Reverse_MajorArcana

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

View workflow job for this annotation

GitHub Actions / lint

undefined: Reverse_MajorArcana

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

View workflow job for this annotation

GitHub Actions / lint

undefined: Reverse_MajorArcana
err := os.MkdirAll(Reverse_MajorArcana, 0755)

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, 386)

undefined: Reverse_MajorArcana

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

View workflow job for this annotation

GitHub Actions / Build binary CI (windows, amd64)

undefined: Reverse_MajorArcana

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, arm)

undefined: Reverse_MajorArcana

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, amd64)

undefined: Reverse_MajorArcana

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

View workflow job for this annotation

GitHub Actions / lint

undefined: Reverse_MajorArcana

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

View workflow job for this annotation

GitHub Actions / lint

undefined: Reverse_MajorArcana
if err != nil {
return
}
}

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

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, 386)

ReverseMinorArcana declared and not used

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

View workflow job for this annotation

GitHub Actions / Build binary CI (windows, amd64)

ReverseMinorArcana declared and not used

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, arm)

ReverseMinorArcana declared and not used

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, amd64)

ReverseMinorArcana declared and not used

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

View workflow job for this annotation

GitHub Actions / lint

ReverseMinorArcana declared and not used
if _, err := os.Stat(Reverse_MinorArcana); os.IsNotExist(err) {

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, 386)

undefined: Reverse_MinorArcana

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

View workflow job for this annotation

GitHub Actions / Build binary CI (windows, amd64)

undefined: Reverse_MinorArcana

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, arm)

undefined: Reverse_MinorArcana

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, amd64)

undefined: Reverse_MinorArcana

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

View workflow job for this annotation

GitHub Actions / lint

undefined: Reverse_MinorArcana
err := os.MkdirAll(Reverse_MinorArcana, 0755)

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, 386)

undefined: Reverse_MinorArcana

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

View workflow job for this annotation

GitHub Actions / Build binary CI (windows, amd64)

undefined: Reverse_MinorArcana

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, arm)

undefined: Reverse_MinorArcana

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

View workflow job for this annotation

GitHub Actions / Build binary CI (linux, amd64)

undefined: Reverse_MinorArcana

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

View workflow job for this annotation

GitHub Actions / lint

undefined: Reverse_MinorArcana (typecheck)
if err != nil {
Expand Down Expand Up @@ -198,11 +198,7 @@ func init() {
tarotmsg := message.Message{message.Text(reasons[rand.Intn(len(reasons))], position[p], "的『", name, "』\n")}
var imgmsg message.Segment
var err error
if p == 1 {
imgmsg, err = poolimg(engine, imgurl, engine.DataFolder())
} else {
imgmsg, err = poolimg(engine, imgurl, engine.DataFolder())
}
imgmsg, err = poolimg(engine, imgurl, engine.DataFolder())
if err != nil {
ctx.SendChain(message.Text("ERROR: ", err))
return
Expand Down Expand Up @@ -292,11 +288,7 @@ func init() {
imgurl := reverse[p] + card.ImgURL
var imgmsg message.Segment
var err error
if p == 1 {
imgmsg, err = poolimg(engine, imgurl, engine.DataFolder())
} else {
imgmsg, err = poolimg(engine, imgurl, engine.DataFolder())
}
imgmsg, err = poolimg(engine, imgurl, engine.DataFolder())
if err != nil {
ctx.SendChain(message.Text("ERROR: ", err))
return
Expand Down

0 comments on commit 560ac8b

Please sign in to comment.