Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
TanklesXL committed Mar 25, 2024
1 parent 5e7cb65 commit 44bdeae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/gladvent/internal/cmd/new.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ pub fn new_command() {
use parse <- glint.flag(
"parse",
glint.bool()
|> glint.default(False)
|> glint.flag_help("Generate day runners with a parse function"),
|> glint.default(False)
|> glint.flag_help("Generate day runners with a parse function"),
)
use _, args, flags <- glint.command()
use days <- result.map(parse.days(args))
Expand Down
4 changes: 2 additions & 2 deletions src/gladvent/internal/cmd/run.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ fn gleam_err_to_string(g: GleamErr) -> String {
"at line",
int.to_string(g.line),
g.value
|> option.map(fn(val) { "with value " <> string.inspect(val) })
|> option.unwrap(""),
|> option.map(fn(val) { "with value " <> string.inspect(val) })
|> option.unwrap(""),
],
" ",
)
Expand Down

0 comments on commit 44bdeae

Please sign in to comment.