[WIP] v0.7.0 getCommandType first
Some checks failed
ci/woodpecker/push/go-lint Pipeline failed

This commit is contained in:
2025-01-15 23:33:55 -06:00
parent a664edaed7
commit 8c633fd4b2
5 changed files with 12 additions and 15 deletions

View File

@@ -259,8 +259,6 @@ func getCommandType(command *Command) *Command {
case "checkVersion":
command.Cmd, command.Args = command.pkgMan.CheckVersion(command.PackageName, command.PackageVersion)
}
} else if command.Type != "package" {
command.packageCmdSet = false
}
if command.Type == "user" && !command.userCmdSet {