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

ci: more args = os.args fixes

This commit is contained in:
Delyan Angelov
2020-12-20 19:01:02 +02:00
parent 5f5c53348b
commit c2064b2cc0
4 changed files with 11 additions and 13 deletions

View File

@@ -45,10 +45,9 @@ fn a_times_transp(mut v []f64, u []f64) {
}
fn main() {
args := os.args
mut n := 0
if args.len == 2 {
n = strconv.atoi(args[1])
if os.args.len == 2 {
n = strconv.atoi(os.args[1])
} else {
n = 0
}