Lightpanda: the headless browser designed for AI and automation
`Config`: drop local in hashed dir check
Halil Durak1b15985e7fe6
diff --git a/src/Config.zig b/src/Config.zigindex 9d6f283f1..4b7a08603 100644--- a/src/Config.zig+++ b/src/Config.zig@@ -89,15 +89,13 @@ pub fn isHashedDirectory(dir: []const u8) bool {var handle = std.fs.openDirAbsolute(dir, .{ .iterate = true }) catch return false;defer handle.close();- var hashed = false;var it = handle.iterate();while (it.next() catch return false) |entry| {if (std.mem.endsWith(u8, entry.name, ".0")) {- hashed = true;- break;+ return true;}}- return hashed;+ return false;}fn caPathValidator(