From 625886b182cf6b8721f7fa282606572db5a6166d Mon Sep 17 00:00:00 2001 From: Meghan Date: Sat, 5 Dec 2020 10:06:17 -0800 Subject: [PATCH] util/deptype- dont put hg on one line --- src/util/dep_type.zig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/util/dep_type.zig b/src/util/dep_type.zig index 61acc12a22aec618e0c33d4456f78af87a994e5a..66a6708b734902b0430b68d55ec5b395760fa8be 100644 --- a/src/util/dep_type.zig +++ b/src/util/dep_type.zig @@ -15,7 +15,9 @@ pub const DepType = enum { _ = try u.run_cmd(null, &[_][]const u8{"git", "clone", rpath, dpath}); _ = try u.run_cmd(null, &[_][]const u8{"git", "submodule", "update", "--init", "--recursive"}); }, - .hg => { _ = try u.run_cmd(null, &[_][]const u8{"hg", "clone", rpath, dpath}); }, + .hg => { + _ = try u.run_cmd(null, &[_][]const u8{"hg", "clone", rpath, dpath}); + }, } } @@ -26,7 +28,9 @@ pub const DepType = enum { _ = try u.run_cmd(dpath, &[_][]const u8{"git", "fetch"}); _ = try u.run_cmd(dpath, &[_][]const u8{"git", "pull"}); }, - .hg => { _ = try u.run_cmd(dpath, &[_][]const u8{"hg", "pull"}); }, + .hg => { + _ = try u.run_cmd(dpath, &[_][]const u8{"hg", "pull"}); + }, } } }; -- 2.54.0