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

ci: force println_os_executable.vv to have a stable output on all OSes

This commit is contained in:
Delyan Angelov
2021-02-05 20:00:20 +02:00
parent e1052a5ec7
commit 99822e51de

View File

@@ -2,6 +2,6 @@ import os
fn main() {
x := os.args[0]
last_segment := x.replace('\\', '/').all_after('vlib/v/tests/skip_unused/')
last_segment := x.replace('\\', '/').all_after('vlib/v/tests/skip_unused/').replace('.exe', '')
println(last_segment)
}