Skip to content

Commit

Permalink
Merge pull request #323 from gatewayd-io/fix-regression-in-plugin-ins…
Browse files Browse the repository at this point in the history
…tall

Fix a regression in `plugin install` command
  • Loading branch information
mostafa authored Sep 18, 2023
2 parents 038f75b + 7eb9ce2 commit 6f712d1
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 6f712d1

Please sign in to comment.