mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: better deprecated message
This commit is contained in:
parent
b0ece3a9d8
commit
b7e2af8151
@ -603,7 +603,7 @@ pub fn is_readable(path string) bool {
|
||||
|
||||
[deprecated]
|
||||
pub fn file_exists(_path string) bool {
|
||||
panic('use os.exists(path) instead of os.file_exists(path)')
|
||||
panic('Use `os.exists` instead of `os.file_exists`')
|
||||
}
|
||||
|
||||
// rm removes file in `path`.
|
||||
|
Loading…
Reference in New Issue
Block a user