Skip to content

Commit 9238fd1

Browse files
committed
Fix Windows build
1 parent 0544cd0 commit 9238fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghcide/src/Development/IDE/Core/FileStore.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ resetFileStore ideState changes = mask $ \_ ->
197197
getModTime :: FilePath -> IO POSIXTime
198198
getModTime f =
199199
#ifdef mingw32_HOST_OS
200-
Dir.getModificationTime f
200+
utcTimeToPOSIXSeconds <$> Dir.getModificationTime f
201201
#else
202202
modificationTimeHiRes <$> getFileStatus f
203203
#endif

0 commit comments

Comments
 (0)