message: Fix `fix-view-file-link-in-pr` and ignore deleted files
diff: @@ -3,7 +3,6 @@ import delegate from 'delegate-it';
  import * as pageDetect from 'github-url-detection';
  import features from '.';
  -import {getCurrentBranch} from '../github-helpers';
  function handleMenuOpening(event: delegate.Event): void {
  const dropdown = event.delegateTarget.nextElementSibling!;
  @@ -27,16 +26,16 @@ function handleMenuOpening(event: delegate.Event): void {
  // This solution accounts for:
  // - Branches with slashes in it
  // - PRs opened from the default branch
  + const headBranchUrl = select<HTMLAnchorElement>('.commit-ref.head-ref a')!.pathname;
  const viewFile = select<HTMLAnchorElement>('[data-ga-click^="View file"]', dropdown)!;
  - const pathParts = viewFile.pathname.split('/'); // Example pathname: $owner/$repository/blob/$sha/$path_to_file.tsx
  - pathParts[4] = getCurrentBranch();
  - viewFile.pathname = pathParts.join('/');
  + const filepath = dropdown.closest<HTMLDivElement>('[data-path]')!.dataset.path;
  + viewFile.pathname = headBranchUrl + '/' + String(filepath);
  viewFile.classList.add('rgh-actionable-link'); // Mark this as processed
  }
  function init(): void {
  - delegate(document, '.js-file-header-dropdown > summary', 'click', handleMenuOpening);
  + delegate(document, '.file-header:not([data-file-deleted="true"]) .js-file-header-dropdown > summary', 'click', handleMenuOpening);
  }
  features.add({
  