File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ cabal-version: 1.12
44--
55-- see: https://github.com/sol/hpack
66--
7- -- hash: 25f34ee90c40276d788a66523e0833707cf16645eadde749c8a953606886ab03
7+ -- hash: b88f8100a3b763c486e0f8eef011ce424bcca172077abeb8b10114b874428683
88
99name : spago
10- version : 0.16 .0
10+ version : 0.17 .0
1111description : Please see the README on GitHub at <https://github.com/purescript/spago#readme>
1212homepage : https://github.com/purescript/spago#readme
1313bug-reports : https://github.com/purescript/spago/issues
@@ -147,6 +147,7 @@ test-suite spec
147147 other-modules :
148148 BumpVersionSpec
149149 Spago.Build.ParserSpec
150+ Spago.Command.PathSpec
150151 SpagoSpec
151152 Spec
152153 UnitSpec
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ bumpVersion
9999 -> RIO env ()
100100bumpVersion dryRun spec = do
101101 newBowerConfig <- Bower. generateBowerJson
102- oldConfig <- readTextFile Bower. path
102+ oldConfig :: Either SomeException Text <- try $ readTextFile Bower. path
103103
104104 Git. requireCleanWorkingTree
105105
@@ -113,8 +113,8 @@ bumpVersion dryRun spec = do
113113 Bower. runBowerInstall
114114 clean <- Git. hasCleanWorkingTree
115115 unless clean $ do
116- logDebug $ display oldConfig
117- logDebug $ display newBowerConfig
116+ logDebug $ displayShow oldConfig
117+ logDebug $ displayShow newBowerConfig
118118 die [ " A new " <> Bower. path <> " has been generated. Please commit this and run `bump-version` again." ]
119119
120120 let tagAction = DryAction
You can’t perform that action at this time.
0 commit comments