Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
infalmo committed Feb 22, 2021
1 parent b7e7503 commit 6bc3f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/upgrade/checkers.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
// Checkers upgrades the default checker files.
func Checkers(checkerDir string, cnf *conf.Conf) {
// Version of current checkers present.
currentVersion := cnf.GetParent("checker").GetString("version")
currentVersion := cnf.GetParent("checker").GetString("checker.version")

latestVersion, descMsg := getLatestReleaseInfo("https://api.github.com/repos/cp-tools/cpt-checker/releases/latest")
// Check if current version is outdated.
Expand Down

0 comments on commit 6bc3f64

Please sign in to comment.