Closed tatsuya0619 closed 4 years ago
cargo-atcoder assumes that the format of language choices is like
cargo-atcoder
<option value="4005" data-mime="text/x-java">Java (OpenJDK 11.0.6)</option> <option value="4006" data-mime="text/x-python">Python (3.8.2)</option> <option value="4007" data-mime="text/x-sh">Bash (5.0.11)</option>
However at this time, A option element whose text is empty is selected too as language choices. And the current implementation panics if it tries to parse empty option. This PR avoid that.
option
Thank you for quick fixing!
cargo-atcoder
assumes that the format of language choices is likeHowever at this time, A
option
element whose text is empty is selected too as language choices. And the current implementation panics if it tries to parse emptyoption
. This PR avoid that.