wakatime/xcode-wakatime — pull request #2 by iv-mexx (2014-03-16 20:26:33+00:00)
Title: Check if self.lastFile is nil

When opening a new assistant editor, self.lastFile is nil until a file is opened in the new window.
This causes a crash in sendAction: because of the attempt to insert nil into the arguments array.

I've added a check if self.lastFile is nil