fix more no_names and build config

This commit is contained in:
SuperAuguste
2020-05-27 21:14:27 -04:00
parent 2b153e046c
commit 0720452217
2 changed files with 3 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ pub fn config(step: *std.build.Step) anyerror!void {
var dir = try std.fs.cwd().openDir(builder.exe_dir, .{});
defer dir.close();
var file = try dir.openFile("zls.json", .{ .write = true });
var file = try dir.createFile("zls.json", .{});
defer file.close();
const out = file.outStream();