Skip to content

Commit

Permalink
rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
spatten committed Oct 20, 2023
1 parent 4fdf9be commit 01091ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Srclib/Converter.hs
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ projectToSourceUnit leaveUnfiltered ProjectResult{..} =
renderedPath = toText (toFilePath projectResultPath)

toSourceUnit :: Bool -> Text -> Graphing Dependency -> DiscoveredProjectType -> SourceUnit
toSourceUnit leaveUnfiltered vsiRulePath dependencies projectType =
toSourceUnit leaveUnfiltered path dependencies projectType =
SourceUnit
{ sourceUnitName = vsiRulePath
{ sourceUnitName = path
, sourceUnitType = toText projectType
, sourceUnitManifest = vsiRulePath
, sourceUnitManifest = path
, sourceUnitBuild =
Just $
SourceUnitBuild
Expand All @@ -68,7 +68,7 @@ toSourceUnit leaveUnfiltered vsiRulePath dependencies projectType =
, buildDependencies = deps
}
, sourceUnitGraphBreadth = Complete
, sourceUnitOriginPaths = [textToOriginPath vsiRulePath]
, sourceUnitOriginPaths = [textToOriginPath path]
, additionalData = Nothing
}
where
Expand Down

0 comments on commit 01091ad

Please sign in to comment.