Skip to content

Commit 1bff02d

Browse files
committed
Windows
1 parent ab73bc9 commit 1bff02d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Spago/Bower.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ generateBowerJson = do
6060
die [ path <> " is being ignored by git - change this before continuing" ]
6161

6262
logInfo "Generated a valid Bower config using the package set"
63-
pure bowerJson
63+
pure $ case OS.buildOS of
64+
OS.Windows -> Text.replace "\n" "\r\n" bowerJson
65+
_ -> bowerJson
6466

6567

6668
runBowerInstall :: (HasLogFunc env, HasBower env) => RIO env ()

0 commit comments

Comments
 (0)