Skip to content

Commit 03f0901

Browse files
authored
fix: clean path tostring (#386)
1 parent 2de0ff7 commit 03f0901

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/plenary/path.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Path.__div = function(self, other)
204204
end
205205

206206
Path.__tostring = function(self)
207-
return self.filename
207+
return clean(self.filename)
208208
end
209209

210210
-- TODO: See where we concat the table, and maybe we could make this work.

0 commit comments

Comments
 (0)