Skip to content

Commit

Permalink
Fixed #1100
Browse files Browse the repository at this point in the history
  • Loading branch information
icetee committed Jan 5, 2018
1 parent ced1d79 commit c501946
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,9 @@ export default class Client {

if (self.current) self.current[1].apply(self, [self.current[2]]);

atom.project.remoteftp.emitter.emit('queue-changed');
if (typeof atom.project.remoteftp.emitter !== 'undefined') {
atom.project.remoteftp.emitter.emit('queue-changed');
}
}

_enqueue(func, desc) {
Expand Down

0 comments on commit c501946

Please sign in to comment.