mach: toOwnedSlice now returns an error union that needs to be handled (#635)

This commit is contained in:
Aaron Winter 2022-12-10 23:26:16 +01:00 committed by GitHub
parent c151222011
commit ef05d8ca69
Failed to generate hash of commit

View file

@ -220,7 +220,7 @@ pub const App = struct {
const app_pkg = Pkg{ const app_pkg = Pkg{
.name = "app", .name = "app",
.source = .{ .path = options.src }, .source = .{ .path = options.src },
.dependencies = deps.toOwnedSlice(), .dependencies = try deps.toOwnedSlice(),
}; };
const step = blk: { const step = blk: {