Skip to content

Commit 26b73d7

Browse files
committed
fix "check" step detection for build on save
fixes #2085 (again)
1 parent 7434203 commit 26b73d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/diagnostics.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ pub fn generateBuildOnSaveDiagnostics(
252252
blk: {
253253
store.lock.lockShared();
254254
defer store.lock.unlockShared();
255-
const build_file = store.build_files.get(build_zig_path) orelse break :blk;
255+
const build_file = store.build_files.get(build_zig_uri) orelse break :blk;
256256

257257
no_build_config: {
258258
const build_associated_config = build_file.build_associated_config orelse break :no_build_config;

0 commit comments

Comments
 (0)