mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: realpath => real_path
This commit is contained in:
@@ -73,7 +73,7 @@ fn main(){
|
||||
mut files := []string
|
||||
locations := fp.finalize() or { eprintln('Error: ' + err) exit(1) }
|
||||
for xloc in locations {
|
||||
loc := os.realpath(xloc)
|
||||
loc := os.real_path(xloc)
|
||||
xfiles := if os.is_dir(loc){ os.walk_ext(loc,'.v') } else { [loc] }
|
||||
filtered_files := xfiles.filter(!it.ends_with('_js.v'))
|
||||
files << filtered_files
|
||||
|
||||
Reference in New Issue
Block a user