Skip to content

Commit

Permalink
hlint (#856)
Browse files Browse the repository at this point in the history
  • Loading branch information
nalchevanidze authored Apr 8, 2024
1 parent 144a98a commit c5fe660
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ mkPossibleTypesName = ("PossibleTypes" <>)

genDirectiveDefinition :: CodeGenM m => DirectiveDefinition CONST -> m [ServerDeclaration]
genDirectiveDefinition DirectiveDefinition {..} = do
fields <- traverse renderDataField (argument <$> toList directiveDefinitionArgs)
fields <- traverse (renderDataField . argument) (toList directiveDefinitionArgs)
let typename = coerce directiveDefinitionName
namespaceDirs <- getNamespaceDirs (unpackName typename)
let cgTypeName = fromTypeName typename
Expand Down
2 changes: 1 addition & 1 deletion morpheus-graphql-tests/src/Test/Morpheus.hs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ getAppsWIth ::
[FilePath] ->
IO b
getAppsWIth f url [] = getAppBy f url
getAppsWIth f url (x : xs) = sconcat <$> traverse (getAppBy f) (file url <$> (x :| xs))
getAppsWIth f url (x : xs) = sconcat <$> traverse (getAppBy f . file url) (x :| xs)

getAppsBy ::
(Semigroup b, Show err, FromJSON resolvers) =>
Expand Down

0 comments on commit c5fe660

Please sign in to comment.