From 0a435be209191147253256b807bb2b10a8971dee Mon Sep 17 00:00:00 2001 From: Jye Cusch Date: Fri, 16 Sep 2022 12:40:45 +1000 Subject: [PATCH] chore: format fix --- pkg/cmd/info.go | 2 +- pkg/cmd/root.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/info.go b/pkg/cmd/info.go index eeb16a081..539f7051e 100644 --- a/pkg/cmd/info.go +++ b/pkg/cmd/info.go @@ -21,7 +21,7 @@ import ( "fmt" "github.com/spf13/cobra" - + "github.com/nitrictech/cli/pkg/ghissue" "github.com/nitrictech/cli/pkg/output" ) diff --git a/pkg/cmd/root.go b/pkg/cmd/root.go index e84740bf9..2b7b503d5 100644 --- a/pkg/cmd/root.go +++ b/pkg/cmd/root.go @@ -64,7 +64,7 @@ var rootCmd = &cobra.Command{ // Ensure the Nitric Home Directory Exists if _, err := os.Stat(utils.NitricHomeDir()); os.IsNotExist(err) { - err := os.MkdirAll(utils.NitricHomeDir(), 0700) // Create the Nitric Home Directory if it's missing + err := os.MkdirAll(utils.NitricHomeDir(), 0o700) // Create the Nitric Home Directory if it's missing if err != nil { cobra.CheckErr(fmt.Errorf("Failed to create nitric home directory. %w", err)) }