Skip to content

Commit 9204513

Browse files
committed
Use noticeDoc instead of warn
1 parent b3c2bc5 commit 9204513

File tree

1 file changed

+1
-1
lines changed
  • cabal-install/src/Distribution/Client/ProjectConfig

1 file changed

+1
-1
lines changed

cabal-install/src/Distribution/Client/ProjectConfig/Legacy.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ parseProjectSkeleton cacheDir httpTransport verbosity importsBy projectDir sourc
314314
uniqueFields <-
315315
if uniqueImport `elem` seenImports
316316
then do
317-
warn verbosity . render $ duplicateImportMsg uniqueImport normLocPath seenImportsBy
317+
noticeDoc verbosity $ duplicateImportMsg uniqueImport normLocPath seenImportsBy
318318
return []
319319
else return xs
320320
rest <- go [] uniqueFields

0 commit comments

Comments
 (0)