Fixed zls path in session tests

This commit is contained in:
Alexandros Naskos 2021-05-03 14:08:59 +03:00
parent 82bb1911b1
commit 0e5a91d4fc
No known key found for this signature in database
GPG Key ID: 02BF2E72B0EA32D2

View File

@ -108,7 +108,7 @@ const Server = struct {
fn startZls() !*std.ChildProcess { fn startZls() !*std.ChildProcess {
std.debug.print("\n", .{}); std.debug.print("\n", .{});
var process = try std.ChildProcess.init(&[_][]const u8{"zig-cache/bin/zls" ++ suffix}, allocator); var process = try std.ChildProcess.init(&[_][]const u8{"zig-out/bin/zls" ++ suffix}, allocator);
process.stdin_behavior = .Pipe; process.stdin_behavior = .Pipe;
process.stdout_behavior = .Pipe; process.stdout_behavior = .Pipe;
process.stderr_behavior = .Pipe; //std.ChildProcess.StdIo.Inherit; process.stderr_behavior = .Pipe; //std.ChildProcess.StdIo.Inherit;