From 29f9c59eae9db66e0b5929d5483c0bb14db6751e Mon Sep 17 00:00:00 2001 From: Robert Attard Date: Mon, 25 Mar 2024 20:07:24 -0400 Subject: [PATCH] rename contents param in glint.add to command --- src/glint.gleam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/glint.gleam b/src/glint.gleam index 9e28ba6..dd498c8 100644 --- a/src/glint.gleam +++ b/src/glint.gleam @@ -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), ) }