Skip to content

Commit 28036c6

Browse files
committed
fix: ignore non lintable files from compiled unit inputs
1 parent 61e5680 commit 28036c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,8 @@ const ZlinterRun = struct {
892892
};
893893
std.debug.assert(joined_path.len > 0);
894894

895+
if (!try isLintableFilePath(joined_path)) continue :sub_paths;
896+
895897
if (cwd.relativePath(b, joined_path)) |path| {
896898
try includes.append(b.allocator, path);
897899
}

0 commit comments

Comments
 (0)