Skip to content

Commit a13d9fe

Browse files
committed
update comment
1 parent 195808f commit a13d9fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/config/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ func (c *Config) AreReceiversConfigured() bool {
416416

417417
// isAllowedDir checks if the given path is in the list of allowed directories.
418418
// It returns true if the path is allowed, false otherwise.
419-
// If the path does not exist, it logs a warning and returns false.
419+
// If the path is allowed but does not exist, it also logs a warning.
420420
// It also checks if the path is a file, in which case it checks the directory of the file.
421421
func isAllowedDir(path string, allowedDirs []string) bool {
422422
if len(allowedDirs) == 0 {

0 commit comments

Comments
 (0)