Skip to content

Commit

Permalink
Declare variable before assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Dec 24, 2024
1 parent 83ddebe commit 3a96ddf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/plugin_install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func Test_pluginInstallCmdWithFile(t *testing.T) {
t, pluginTestConfigFile, "plugin init command should have created a config file")

// Pull the plugin archive and install it.
var pluginArchivePath string
pluginArchivePath, err = mustPullPlugin()
require.NoError(t, err, "mustPullPlugin should not return an error")
assert.FileExists(t, pluginArchivePath, "mustPullPlugin should have downloaded the plugin archive")
Expand Down

0 comments on commit 3a96ddf

Please sign in to comment.