We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fea1567 commit adb31d8Copy full SHA for adb31d8
cmd/root.go
@@ -57,6 +57,14 @@ func runInteractiveCertGuard(cmd *cobra.Command, args []string) error {
57
return err
58
}
59
60
+ if _, err := os.Stat(cacheDir); os.IsNotExist(err) {
61
+ err := os.MkdirAll(cacheDir, 0o775)
62
+ if err != nil {
63
+ fmt.Println("fatal:", err)
64
+ os.Exit(1)
65
+ }
66
67
+
68
dbConnection, err := db.NewDBConnection(cacheDir)
69
if err != nil {
70
0 commit comments