1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

Use os.rmdir_recursive instead of scripting.run('rm -rf')

This commit is contained in:
radare 2020-01-09 02:01:02 +01:00 committed by Alexander Medvednikov
parent 8a7f2a2696
commit 760448afa4

View File

@ -99,8 +99,8 @@ fn main() {
context.cc = ecc
}
if context.cleanup {
scripting.run('rm -rf $context.path_v')
scripting.run('rm -rf $context.path_vc')
os.rmdir_recursive(context.path_v)
os.rmdir_recursive(context.path_vc)
}
context.compile_oldv_if_needed()