We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 195808f commit a13d9feCopy full SHA for a13d9fe
internal/config/types.go
@@ -416,7 +416,7 @@ func (c *Config) AreReceiversConfigured() bool {
416
417
// isAllowedDir checks if the given path is in the list of allowed directories.
418
// It returns true if the path is allowed, false otherwise.
419
-// If the path does not exist, it logs a warning and returns false.
+// If the path is allowed but does not exist, it also logs a warning.
420
// It also checks if the path is a file, in which case it checks the directory of the file.
421
func isAllowedDir(path string, allowedDirs []string) bool {
422
if len(allowedDirs) == 0 {
0 commit comments