Commits

Niklas Hambüchen committed f44a242

Fix crash if there are unsaved open files
---
autobuild.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

Comments (0)

Files changed (1)

     for w in sublime.windows():
         for v in w.views():
             view_filename = v.file_name()
+            # Unsaved files have no file name
+            if view_filename is None:
+                continue
             errors_in_view = filter(
                 lambda x: are_paths_equal(view_filename, x.filename),
                 errors)