Skip to content

Commit 4f7013b

Browse files
Anton-Latukhajwiegley
authored andcommitted
Effects: Basic: upd simplify defaultImportPath ErrorCall
1 parent dbe17f0 commit 4f7013b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Nix/Effects/Basic.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,7 @@ defaultImportPath path = do
250250
Failure err ->
251251
throwError
252252
$ ErrorCall
253-
. show
254-
$ fillSep
255-
$ ["Parse during import failed:", err]
253+
. show $ fillSep ["Parse during import failed:", err]
256254
Success expr -> do
257255
modify (M.insert path expr)
258256
pure expr

0 commit comments

Comments
 (0)