Skip to content

Commit 9cf6e15

Browse files
committed
Merge branch 'issue-30'
2 parents 4c8679e + b037a89 commit 9cf6e15

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 0.1.5 -- 20XX-XX-XX
44

55
* Don't use QuasiQotes
6+
* Remove redundant imports
67

78
## 0.1.4 -- 2024-08-10
89

posix/System/File/Platform.hs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ import System.Posix.Internals (c_getpid)
2626
import GHC.IORef (atomicModifyIORef'_)
2727
import Foreign.C (getErrno, eEXIST, errnoToIOError)
2828

29-
#if MIN_VERSION_filepath(1, 5, 0)
30-
import "os-string" System.OsString.Internal.Types (PosixString(..), PosixChar(..))
31-
import qualified "os-string" System.OsString.Data.ByteString.Short as BC
32-
#else
29+
#if !MIN_VERSION_filepath(1, 5, 0)
3330
import Data.Coerce (coerce)
3431
import "filepath" System.OsString.Internal.Types (PosixString(..), PosixChar(..))
3532
import qualified "filepath" System.OsPath.Data.ByteString.Short as BC

0 commit comments

Comments
 (0)