Skip to content

Commit

Permalink
Fixing parsing of execArgs flag
Browse files Browse the repository at this point in the history
  • Loading branch information
SaravananM31 committed Feb 26, 2024
1 parent 69fadfd commit 0810dc1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/src/Flags.purs
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,7 @@ pursArgs =
)

execArgs :: Parser (Maybe (Array String))
execArgs =
OT.optional
$ Array.fromFoldable
execArgs = (\s -> if List.null s then Nothing else (Just $ Array.fromFoldable s))
<$> O.many
( O.strArgument
( O.help "Arguments to pass to the running script"
Expand Down

0 comments on commit 0810dc1

Please sign in to comment.