Fix error when modifying import on Windows

If there is an exception when checking if a resource exists, it is similar to it not existing. Open to feedback here though, perhaps the issue should be handled more specifically to Windows path requirements.

Bug: https://github.com/dart-lang/sdk/issues/37403
Change-Id: Ic5d4ed0cb22619897c3ccaf46feaadd297b55472
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/148701
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>

https://dart.googlesource.com/sdk/+/6489a0c68df856b2796791ba147766b70cbb5288
1 file changed
tree: 1e57a519e182343e384667482d822469dad12a17
  1. commits.json