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 2e954de commit 5a2f42dCopy full SHA for 5a2f42d
truststore_nss.go
@@ -97,6 +97,9 @@ func (m *mkcert) forEachNSSProfile(f func(profile string)) (found int) {
97
return
98
}
99
for _, profile := range profiles {
100
+ if stat, err := os.Stat(profile); err != nil || !stat.IsDir() {
101
+ continue
102
+ }
103
if _, err := os.Stat(filepath.Join(profile, "cert8.db")); !os.IsNotExist(err) {
104
f("dbm:" + profile)
105
found++
0 commit comments