Skip to content

Commit b587f5f

Browse files
authored
Merge pull request #3635 from kadoban/doc-fixes-and-colors
[WIP] Ongoing warning/error/log output fixes and coloration
2 parents 3cf794c + 6bc1269 commit b587f5f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/Stack/Package.hs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1412,10 +1412,12 @@ hpack pkgDir = do
14121412
, flow "please upgrade and try again."
14131413
]
14141414
Hpack.ExistingCabalFileWasModifiedManually -> prettyWarnL
1415-
[ flow "WARNING: "
1416-
, cabalFile
1417-
, flow " was modified manually. Ignoring package.yaml in favor of cabal file."
1418-
, flow "If you want to use package.yaml instead of the cabal file, "
1415+
[ cabalFile
1416+
, flow "was modified manually. Ignoring"
1417+
, display hpackFile
1418+
, flow "in favor of the cabal file. If you want to use the"
1419+
, display . filename $ hpackFile
1420+
, flow "file instead of the cabal file,"
14191421
, flow "then please delete the cabal file."
14201422
]
14211423
HpackCommand command ->

0 commit comments

Comments
 (0)