1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00

Use Path.toString instead of show.

This commit is contained in:
Rob Rix 2019-10-11 12:13:57 -04:00
parent f3b3a32f8a
commit a05bb26c9f
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -26,7 +26,7 @@ instance ToJSON a => ToJSON (File a) where
]
instance ToJSON Path.AbsRelFile where
toJSON p = toJSON (pack (show p))
toJSON p = toJSON (pack (Path.toString p))
instance ToJSON Ref where
toJSON (Ref path span) = object