Fixed catch to not exceed vector size

This commit is contained in:
Maddox Werts 2025-03-21 10:20:21 -04:00
parent 432cd5f695
commit 8e0e4750e5

View file

@ -30,7 +30,7 @@ impl Arguments {
} }
// Is there something else after this? // Is there something else after this?
if i + 1 > args.len() { if i + 1 > args.len() - 1 {
result.push(Argument { result.push(Argument {
key: args[i].clone(), key: args[i].clone(),
val: String::new(), val: String::new(),