commit | ace073c02a863dce77e998dc1b9393f3d28bb5a2 | [log] [tgz] |
---|---|---|
author | Scott Hyndman <scott@madewithfelt.com> | Thu Feb 06 17:21:08 2020 -0600 |
committer | GitHub <noreply@github.com> | Thu Feb 06 15:21:08 2020 -0800 |
tree | ada57398244846fa26c4aa1229796f8ab6f502c5 | |
parent | fe4d2e4f339582570525b5776f62030ee0ffd915 [diff] |
Replace use of int.parse with int.tryParse (dart-lang/pub_semver#43) By replacing `int.parse` with `int.tryParse`, exceptions will no longer be thrown if the version part is a non-integer. This avoids triggering the debugger if set to break on "All Exceptions". Fixes dart-lang/pub_semver#42