Updated imports and dependencies

This commit is contained in:
David Allen 2024-02-27 20:43:10 -07:00
parent 1e5982763f
commit b447b0e149
No known key found for this signature in database
GPG key ID: 1D2A29322FBB6FCB
4 changed files with 7 additions and 7 deletions

View file

@ -5,7 +5,7 @@ import (
"fmt"
"os"
"github.com/davidallendj/go-utils/util"
"github.com/davidallendj/go-utils/pathx"
"github.com/spf13/cobra"
)
@ -24,7 +24,7 @@ var rootCmd = &cobra.Command{
func initConfig() {
// load config if found or create a new one
if configPath != "" {
exists, err := util.PathExists(configPath)
exists, err := pathx.PathExists(configPath)
if err != nil {
fmt.Printf("failed to load config")
os.Exit(1)