Skip to content

Commit

Permalink
fix(example/git): Remove try keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
Prajwal Chapagain authored Aug 28, 2022
1 parent a10b630 commit 987d991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/git.zig
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub fn main() anyerror!void {
var cmd_push = Command.new(allocator, "push");
try cmd_push.takesSingleValue("REMOTE");
try cmd_push.takesSingleValue("BRANCH_NAME");
try cmd_push.argRequired(true);
cmd_push.argRequired(true);

try git.addSubcommand(Command.new(allocator, "init"));
try git.addSubcommand(cmd_commit);
Expand Down

0 comments on commit 987d991

Please sign in to comment.