Use correct argument --exclude instead of --ignore

https://github.com/wakatime/sublime-wakatime/issues/70
This commit is contained in:
Marcus Obst 2017-03-04 17:02:04 +01:00
parent 008fdc6b49
commit 938bbb73d1

View file

@ -537,7 +537,7 @@ class SendHeartbeatsThread(threading.Thread):
if heartbeat.get('cursorpos') is not None: if heartbeat.get('cursorpos') is not None:
cmd.extend(['--cursorpos', heartbeat['cursorpos']]) cmd.extend(['--cursorpos', heartbeat['cursorpos']])
for pattern in self.ignore: for pattern in self.ignore:
cmd.extend(['--ignore', pattern]) cmd.extend(['--exclude', pattern])
if self.debug: if self.debug:
cmd.append('--verbose') cmd.append('--verbose')
if self.has_extra_heartbeats: if self.has_extra_heartbeats: