               .then (latestCommit) =>
                 _git.getTree(latestCommit, {recursive:true})
                 .then (tree) =>
-                  # Update Tree
-                  newTree = _.reject(tree, (ref) ->
+                  newTree = _.reject(tree, (ref) -> # Update Tree
                     ref.path is path
                   )
                   _.each newTree, (ref) ->

                    .then (commit) =>
                      _git.updateHead(branch, commit)
                      .then (res) =>
                        # Finally, return the result
                        return res

            # Return the promise
            .promise()

          # Edit a hook
          # -------
          #
          # - `config` (Optional hash) : A Hash containing key/value pairs to provide settings for this hook.
          #                      Modifying this will replace the entire config object.
          #                      These settings vary between the services and are defined in the github-services repo.
          # - `events` (Optional array) : Determines what events the hook is triggered for.
          #                     This replaces the entire array of events. Default: ["push"].
          # - `addEvents` (Optional array) : Determines a list of events to be added to the list of events that the Hook triggers for.
          # - `removeEvents` (Optional array) : Determines a list of events to be removed from the list of events that the Hook triggers for.
          # - `active` (Optional boolean) : Determines whether the hook is actually triggered on pushes.
