adobe/brackets — pull request #6545 by peterflynn (2014-01-16 00:17:41+00:00)
Title: Fix bug #6542 (Exception thrown on save if file not visible in project tree)

Fix bug #6542 - move initialization of `wasOpen` after the check that early-exits when `$directoryNode` is null