Skip to content

Commit

Permalink
Fix a regression in plugin install command
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Sep 18, 2023
1 parent 038f75b commit 7eb9ce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/plugin_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ var pluginInstallCmd = &cobra.Command{
log.Panic(
"Invalid URL. Use the following format: github.com/account/repository@version")
}
account := accountRepo[0]
pluginName := accountRepo[1]
account = accountRepo[0]
pluginName = accountRepo[1]
if account == "" || pluginName == "" {
log.Panic(
"Invalid URL. Use the following format: github.com/account/repository@version")
Expand Down

0 comments on commit 7eb9ce2

Please sign in to comment.