guillermooo / dart-sublime-bundle

Sublime Text 3 Dart Package
BSD 3-Clause "New" or "Revised" License
264 stars 42 forks source link

Create analyzer.py #582

Open DavidRGriswold opened 7 years ago

DavidRGriswold commented 7 years ago

This tiny patch, which I basically found under one of the bug threads, fixes the "NoneType" error that seems to happen when there is no package directory. I'm totally new to dart, being asked to work on code created by somebody else in Webstorm, and this error threw me for a loop for a minute, but this simple fix seems to have me up and running.