     # Events subscribed to in atom's system can be easily cleaned up with a CompositeDisposable
     @subscriptions = new CompositeDisposable
     @packageName = require('../package.json').name
-    
-    
+
+
     # Register event listener for file saves
     shouldWipOnSave = atom.config.get "#{@packageName}.wipOnSave"
     if shouldWipOnSave
       @subscriptions.add atom.workspace.observeTextEditors (editor) =>
-      editor.onDidSave =>
-        @doGitWip(editor.getPath())
+        editor.onDidSave (event) =>
+          @doGitWip(editor.getPath())
 
     # Register command that toggles this view
     @subscriptions.add atom.commands.add 'atom-text-editor',
       'git-wip:add-file-checkpoint': (event) =>
-        
+
         @doGitWip @activeItemPath()
       'git-wip:add-project-checkpoint': (event) =>
         @doGitWip()

  gitWipView: null
  modalPanel: null
  subscriptions: null
  
  # Config
  config:
    wipOnSave:

        throw new Error('bin git-wip not found: please install from https://github.com/bartman/git-wip and ensure it is in your bin path')
      else
        self.doGitWip(filePath if filePath?)

    exit = (code) -> console.log "which exite with #{code}"

    process = new BufferedProcess {command: command, args: ["git-wip"], stdout: stdout, exit: exit}






# random commentasdadzxczc cool making changessdkjk
