os: fix deprecated os.dir to work as advertised
parent
a214778b74
commit
4925aa594b
|
@ -616,7 +616,7 @@ pub fn ext(path string) string {
|
||||||
[deprecated]
|
[deprecated]
|
||||||
pub fn dir(path string) string {
|
pub fn dir(path string) string {
|
||||||
println('Use filepath.dir')
|
println('Use filepath.dir')
|
||||||
return filepath.ext(path)
|
return filepath.dir(path)
|
||||||
}
|
}
|
||||||
|
|
||||||
[deprecated]
|
[deprecated]
|
||||||
|
|
Loading…
Reference in New Issue