File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
cabal-install/src/Distribution/Client/ProjectConfig Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -248,14 +248,15 @@ parseProject rootPath cacheDir httpTransport verbosity configToParse = do
248
248
let (dir, projectFileName) = splitFileName rootPath
249
249
projectDir <- makeAbsolute dir
250
250
projectPath@ (ProjectConfigPath (canonicalRoot :| _)) <- canonicalizeConfigPath projectDir (ProjectConfigPath $ projectFileName :| [] )
251
- importsBy :: IORef [( FilePath , ProjectConfigPath )] <- newIORef [(canonicalRoot, projectPath)]
251
+ importsBy <- newIORef [(canonicalRoot, projectPath)]
252
252
parseProjectSkeleton cacheDir httpTransport verbosity importsBy projectDir projectPath configToParse
253
253
254
254
parseProjectSkeleton
255
255
:: FilePath
256
256
-> HttpTransport
257
257
-> Verbosity
258
258
-> IORef [(FilePath , ProjectConfigPath )]
259
+ -- ^ The imports seen so far, used to report on cycles and duplicates and to detect duplicates that are not cycles
259
260
-> FilePath
260
261
-- ^ The directory of the project configuration, typically the directory of cabal.project
261
262
-> ProjectConfigPath
You can’t perform that action at this time.
0 commit comments