Skip to content

Commit 1924b61

Browse files
committed
Update latest zig and zls
1 parent 5dc3e36 commit 1924b61

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.zig.zon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
.zls = .{
88
// Update with `zig fetch --save git+https://github.com/zigtools/zls#master`
99
// IF changed THEN update .github/coverage.yml
10-
.url = "git+https://github.com/zigtools/zls?ref=master#1e267a7b422d8815bbfc44f852d23af0a2cb88b6",
11-
.hash = "zls-0.16.0-dev-rmm5ftCsJAArCX8fOu3IMFrkdw3AnBNRfoMtmKThEk2J",
10+
.url = "git+https://github.com/zigtools/zls?ref=master#ff6b8b2cc327e9746a8df8c921b5977a19e38fab",
11+
.hash = "zls-0.16.0-dev-rmm5flaxJADlAxxLDch8r_TWUPafNClujzOs1zRm5A2U",
1212
},
1313
},
1414
.paths = .{

src/lib/files.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ pub fn isLintableFilePath(file_path: []const u8) !bool {
112112
if (basename.len <= extension.len) return false; // Can't just be ".zig"
113113
if (!std.mem.endsWith(u8, basename, extension)) return false;
114114

115-
var components = try std.fs.path.componentIterator(file_path);
115+
var components = std.fs.path.componentIterator(file_path);
116116
while (components.next()) |component| {
117117
if (std.mem.eql(u8, component.name, ".zig-cache")) return false;
118118
if (std.mem.eql(u8, component.name, "zig-out")) return false;

0 commit comments

Comments
 (0)