mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: fix deprecated os.dir to work as advertised
This commit is contained in:
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
Block a user