<commit_before>cask "powershell-preview" do
  version "7.2.0-preview.1"
  sha256 "40b3f05c6866a5654d16ed17f719ca4f6ef3e9743c916d2e7468fe44cdaa85d6"

  url "https://github.com/PowerShell/PowerShell/releases/download/v#{version}/powershell-#{version}-osx-x64.pkg"
  appcast "https://github.com/PowerShell/PowerShell/releases.atom"
  name "PowerShell"
  homepage "https://github.com/PowerShell/PowerShell"

  depends_on formula: "openssl"
  depends_on macos: ">= :high_sierra"

  pkg "powershell-#{version}-osx-x64.pkg"

  uninstall pkgutil: "com.microsoft.powershell-preview"

  zap trash: [
    "~/.cache/powershell",<commit_msg>Update powershell-preview from 7.2.0-preview.1 to 7.2.0-preview.2 (#10331)<commit_after>cask "powershell-preview" do
  version "7.2.0-preview.2"
  sha256 "bbe8ca1ffe84dea2f20cf0c927238500565065233dc9ffcb950b9aeb744a97fc"

  url "https://github.com/PowerShell/PowerShell/releases/download/v#{version}/powershell-#{version}-osx-x64.pkg"
  appcast "https://github.com/PowerShell/PowerShell/releases.atom"
  name "PowerShell"
  homepage "https://github.com/PowerShell/PowerShell"

  depends_on formula: "openssl"
  depends_on macos: ">= :high_sierra"

  pkg "powershell-#{version}-osx-x64.pkg"

  uninstall pkgutil: "com.microsoft.powershell-preview"

  zap trash: [
    "~/.cache/powershell",
{'fraction_non_alphanumeric': 0.1442672741078208, 'fraction_numerical': 0.08428246013667426, 'mean_word_length': 5.045871559633028, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4908778', 'n_tokens_mistral': 586, 'n_tokens_neox': 512, 'n_words': 63}