Skip to content

Commit

Permalink
rename contents param in glint.add to command
Browse files Browse the repository at this point in the history
  • Loading branch information
TanklesXL committed Mar 26, 2024
1 parent cde1273 commit 29f9c59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/glint.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ pub fn new() -> Glint(a) {
pub fn add(
to glint: Glint(a),
at path: List(String),
do contents: Command(a),
do command: Command(a),
) -> Glint(a) {
Glint(
..glint,
cmd: path
|> sanitize_path
|> do_add(to: glint.cmd, put: contents),
|> do_add(to: glint.cmd, put: command),
)
}

Expand Down

0 comments on commit 29f9c59

Please sign in to comment.