Skip to content

Commit

Permalink
v0.0.2 - 优化打印的颜色输出
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritLHLS committed Jun 30, 2024
1 parent cd41c9a commit 2a7b1d5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
git config --global user.name 'github-actions'
git config --global user.email '[email protected]'
TAG="v0.0.1-$(date +'%Y%m%d%H%M%S')"
TAG="v0.0.2-$(date +'%Y%m%d%H%M%S')"
git tag $TAG
git push origin $TAG
env:
Expand Down
4 changes: 2 additions & 2 deletions commediatests/netflix/printer/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func printResult(ipVersion string, vResponse verify.VerifyResponse, language str
result += Green("您的出口IP可以观看此电影") + "\n"
result += Green("NF所识别的IP地域信息:") + vResponse.CountryName + "\n"
default:
result += Purple("解锁检测失败,请稍后重试") + "\n"
result += Yellow("解锁检测失败,请稍后重试") + "\n"
}
} else if language == "en" {
switch code := vResponse.StatusCode; {
Expand All @@ -61,7 +61,7 @@ func printResult(ipVersion string, vResponse verify.VerifyResponse, language str
result += Green("Your exit IP can watch this movie") + "\n"
result += Green("Netflix identified IP region: "+vResponse.CountryName) + "\n"
default:
result += Purple("Unlock detection failed, please try again later") + "\n"
result += Yellow("Unlock detection failed, please try again later") + "\n"
}
}
return result
Expand Down
2 changes: 1 addition & 1 deletion commediatests/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package commediatests

const ComMediaTestsVersion = "v0.0.1" // git tag v0.0.1
const ComMediaTestsVersion = "v0.0.2"
var EnableLoger bool

0 comments on commit 2a7b1d5

Please sign in to comment.