Skip to content

Commit 7d96568

Browse files
committed
undo changes added by mistake
1 parent 6d7a873 commit 7d96568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/io/Path.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class Path private[io] (val jpath: JPath) {
170170
// returns the filename without the extension.
171171
def stripExtension: String = name stripSuffix ("." + extension)
172172
// returns the Path with the extension.
173-
def addExtension(ext: String): Path = new Path(jpath.resolveSibling(name + "." + ext))
173+
def addExtension(ext: String): Path = new Path(jpath.resolveSibling(name + ext))
174174
// changes the existing extension out for a new one, or adds it
175175
// if the current path has none.
176176
def changeExtension(ext: String): Path =

0 commit comments

Comments
 (0)