Skip to content

Commit 6bc1269

Browse files
committed
improve the warning when ignoring hpack file
1 parent b83e40a commit 6bc1269

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Stack/Package.hs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,8 +1354,11 @@ hpack pkgDir = do
13541354
]
13551355
Hpack.ExistingCabalFileWasModifiedManually -> prettyWarnL
13561356
[ cabalFile
1357-
, flow "was modified manually. Ignoring package.yaml in favor of cabal file."
1358-
, flow "If you want to use package.yaml instead of the cabal file, "
1357+
, flow "was modified manually. Ignoring"
1358+
, display hpackFile
1359+
, flow "in favor of the cabal file. If you want to use the"
1360+
, display . filename $ hpackFile
1361+
, flow "file instead of the cabal file,"
13591362
, flow "then please delete the cabal file."
13601363
]
13611364
HpackCommand command -> do

0 commit comments

Comments
 (0)