Skip to content

Commit

Permalink
fix: loop: condition
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Jun 17, 2024
1 parent 6536d5b commit 718ee7f
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions src/loop.ab
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,6 @@ main {
let file = "$1"
let size = "$2"

if {
file == "" {
echo "loop <file> <size>";
exit(0);
}
size == "" {
echo "loop <file> <size>";
exit(0);
}
}

if {
file == "-v" {
let version = get_version();
Expand All @@ -30,6 +19,14 @@ main {
echo "v{version}"
exit(0);
}
file == "" {
echo "loop <file> <size>";
exit(0);
}
size == "" {
echo "loop <file> <size>";
exit(0);
}
}

let missing = get_missing_dependency();
Expand Down

0 comments on commit 718ee7f

Please sign in to comment.