Skip to content

Commit

Permalink
Return config file provisioner if ngrok version check fails for any r…
Browse files Browse the repository at this point in the history
…eason
  • Loading branch information
arunsathiya committed Mar 29, 2023
1 parent d824696 commit efa1da5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/ngrok/provisioner.go
Expand Up @@ -3,7 +3,6 @@ package ngrok
import (
"context"
"fmt"
"log"
"os"
"os/exec"
"path/filepath"
Expand Down Expand Up @@ -32,7 +31,7 @@ func ngrokProvisioner() sdk.Provisioner {
cmd := exec.Command("ngrok", "--version")
ngrokVersion, err := cmd.Output()
if err != nil {
log.Fatalf(err.Error())
return fileProvisioner{}
}

// Example: "ngrok version 3.1.1\n" to "3.1.1\n"
Expand Down

0 comments on commit efa1da5

Please sign in to comment.