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:
parent
f3b3a32f8a
commit
a05bb26c9f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user