Skip to content

Commit 67fff70

Browse files
committed
Cleanup if statement
1 parent a77db28 commit 67fff70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/ngrok/provisioner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func HasEnvVarSupport() bool {
5151

5252
func (p ngrokProvisioner) Provision(ctx context.Context, in sdk.ProvisionInput, out *sdk.ProvisionOutput) {
5353

54-
if ngrokProvisioner := HasEnvVarSupport(); ngrokProvisioner {
54+
if HasEnvVarSupport() {
5555
out.AddEnvVar("NGROK_AUTHTOKEN", in.ItemFields[fieldname.Authtoken])
5656
out.AddEnvVar("NGROK_API_KEY", in.ItemFields[fieldname.APIKey])
5757
return

0 commit comments

Comments
 (0)