From 7ad7b2345b993811a69b3f7f9588e352ef5f1024 Mon Sep 17 00:00:00 2001 From: Mateus Date: Fri, 14 Jun 2024 11:38:18 -0300 Subject: [PATCH] small text adjustments --- src/Install/Import.elm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Install/Import.elm b/src/Install/Import.elm index b5d953f..4dec408 100644 --- a/src/Install/Import.elm +++ b/src/Install/Import.elm @@ -62,8 +62,8 @@ init hostModuleName_ importedModuleName_ = {-| Add an alias to the imported module. -} withAlias : String -> Config -> Config -withAlias alias config = - { config | importedModuleAlias = Just alias } +withAlias alias_ config = + { config | importedModuleAlias = Just alias_ } {-| Add an exposing list to the imported module. @@ -113,7 +113,7 @@ importVisitor config node context = moduleDefinitionVisitor : Node Module -> Context -> ( List (Error {}), Context ) moduleDefinitionVisitor def context = - -- visit the module definition to set the module definition as the lastNodeRange in case the module has not imports yet + -- visit the module definition to set the module definition as the lastNodeRange in case the module has no imports yet ( [], { context | lastNodeRange = Node.range def } )