mirror of
https://github.com/davidallendj/opaal.git
synced 2025-12-20 03:27:02 -07:00
Updated imports and dependencies
This commit is contained in:
parent
1e5982763f
commit
b447b0e149
4 changed files with 7 additions and 7 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue