<commit_before>cask 'visual-studio-code' do
  version '1.46.0'
  sha256 'f09184eec1079bb4baba7e45b98dadd5cffcccd5558aa096e73627384adcbc03'

  url "https://update.code.visualstudio.com/#{version}/darwin/stable"
  appcast 'https://vscode-update.azurewebsites.net/api/update/darwin/stable/VERSION'
  name 'Microsoft Visual Studio Code'
  name 'VS Code'
  homepage 'https://code.visualstudio.com/'

  auto_updates true

  app 'Visual Studio Code.app'
  binary "#{appdir}/Visual Studio Code.app/Contents/Resources/app/bin/code"

  zap trash: [
               '~/Library/Application Support/Code',
               '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.microsoft.vscode.sfl*',
               '~/Library/Caches/com.microsoft.VSCode',
               '~/Library/Caches/com.microsoft.VSCode.ShipIt',
               '~/Library/Preferences/ByHost/com.microsoft.VSCode.ShipIt.*.plist',
               '~/Library/Preferences/com.microsoft.VSCode.helper.plist',
               '~/Library/Preferences/com.microsoft.VSCode.plist',
               '~/Library/Saved Application State/com.microsoft.VSCode.savedState',
               '~/.vscode',
             ]
end<commit_msg>Update Visual-Studio-Code to version 1.46.1 (#84616)<commit_after>cask 'visual-studio-code' do
  version '1.46.1'
  sha256 'efc937d26ec2c45a3a90c5d80edb18bded6c3ed4fb8f8ecbab530a85873ec11a'

  url "https://update.code.visualstudio.com/#{version}/darwin/stable"
  appcast 'https://vscode-update.azurewebsites.net/api/update/darwin/stable/VERSION'
  name 'Microsoft Visual Studio Code'
  name 'VS Code'
  homepage 'https://code.visualstudio.com/'

  auto_updates true

  app 'Visual Studio Code.app'
  binary "#{appdir}/Visual Studio Code.app/Contents/Resources/app/bin/code"

  zap trash: [
               '~/Library/Application Support/Code',
               '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.microsoft.vscode.sfl*',
               '~/Library/Caches/com.microsoft.VSCode',
               '~/Library/Caches/com.microsoft.VSCode.ShipIt',
               '~/Library/Preferences/ByHost/com.microsoft.VSCode.ShipIt.*.plist',
               '~/Library/Preferences/com.microsoft.VSCode.helper.plist',
               '~/Library/Preferences/com.microsoft.VSCode.plist',
               '~/Library/Saved Application State/com.microsoft.VSCode.savedState',
               '~/.vscode',
             ]
end
{'fraction_non_alphanumeric': 0.13485394157663066, 'fraction_numerical': 0.03481392557022809, 'mean_word_length': 2.9184952978056424, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5870716', 'n_tokens_mistral': 896, 'n_tokens_neox': 809, 'n_words': 98}