packages feed

smuggler 0.0.0 → 0.0.1

raw patch · 2 files changed

+2/−2 lines, 2 files

Files

smuggler.cabal view
@@ -1,5 +1,5 @@ name:                smuggler-version:             0.0.0+version:             0.0.1 synopsis:            Smuggling description:         GHC compiler plugin which helps to manage imports homepage:            https://github.com/kowainik/smuggler
src/Smuggler/Plugin.hs view
@@ -71,7 +71,7 @@                 let purifiedAnnotations = foldl' (\ann (x, y) -> removeAnnAtLoc x y ann) anns unusedPositions                 let newContent = exactPrint ast purifiedAnnotations                 case clis of-                    []      -> putStrLn newContent+                    []      -> writeFile modulePath newContent                     (ext:_) -> writeFile (modulePath -<.> ext) newContent         -- 4. Return empty ByteString         pure ""