Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the nested condition in textcov (#496)
The conditional check of array_count larger than 0 is not necessary since it is only used in repeating '[]' in the next_arg and the repeat of string won't happen if the array_count is less than or equals 0. This PR removes the unnecessary conditional check to simplify the logic and decrease the amount of nested conditional checking. --------- Signed-off-by: Arthur Chan <[email protected]>
- Loading branch information