mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
http: cleanup backend_nix.c.v, fixes vpm too
This commit is contained in:
@@ -675,7 +675,7 @@ pub fn base_dir(path string) string {
|
||||
}
|
||||
|
||||
pub fn file_name(path string) string {
|
||||
return path.all_after(path_separator)
|
||||
return path.all_after_last(path_separator)
|
||||
}
|
||||
|
||||
// input returns a one-line string from stdin, after printing a prompt
|
||||
|
Reference in New Issue
Block a user