Skip to content

Commit

Permalink
small text adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfpleite committed Jun 14, 2024
1 parent 25d6e82 commit 7ad7b23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Install/Import.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 } )


Expand Down

0 comments on commit 7ad7b23

Please sign in to comment.