Skip to content

Commit 2a69a76

Browse files
committed
Run beautifyLua()
1 parent b30e1c9 commit 2a69a76

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main.zig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ pub fn main() !void {
142142
else => |e| return e,
143143
};
144144

145+
try converter.beautifyLua(settings.output_folder_path, allocator);
146+
145147
// TODO: Run .convert() in a separate thread, letting it update a passed Progress struct so we can update a progress bar here?
146148
// TODO: Check if std/Progress.zig is of use: https://ziglang.org/documentation/master/std/src/std/Progress.zig.html
147149
// TODO: Look at this example of multithreading in Zig: https://gist.github.com/cabarger/d3879745b8477670070f826cad2f027d
@@ -175,7 +177,7 @@ pub fn main() !void {
175177
defer arena.deinit();
176178
var allocator = arena.allocator();
177179

178-
try converter.zip_mods(settings.input_folder_path, settings.output_folder_path, allocator);
180+
try converter.zipMods(settings.input_folder_path, settings.output_folder_path, allocator);
179181

180182
std.debug.print("Done zipping!\n", .{});
181183
}

0 commit comments

Comments
 (0)