update docgen to new std.fs API

This commit is contained in:
Andrew Kelley 2020-03-03 16:01:09 -05:00
parent 55dfedff42
commit c4f81586f1
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -50,7 +50,7 @@ pub fn main() !void {
var tokenizer = Tokenizer.init(in_file_name, input_file_bytes);
var toc = try genToc(allocator, &tokenizer);
try fs.makePath(allocator, tmp_dir_name);
try fs.cwd().makePath(tmp_dir_name);
defer fs.deleteTree(tmp_dir_name) catch {};
try genHtml(allocator, &tokenizer, &toc, &buffered_out_stream.stream, zig_exe);