<commit_before># Look for any tracebacks in the code
$osArch = (Get-WmiObject Win32_OperatingSystem).OSArchitecture
if($osArch -eq "64-bit")
{

   $programFilesDir = ${ENV:ProgramFiles(x86)}
}
else
{
   $programFilesDir = $ENV:ProgramFiles
}

Select-string -Path $programFilesDir'\Cloudbase Solutions\Cloudbase-Init\log\cloudbase-init.log'
              -Pattern 'Traceback\s+\(most\s+recent\s+call\s+last\)'
              -AllMatches -Context 10
Select-string -Path $programFilesDir'\Cloudbase Solutions\Cloudbase-Init\log\cloudbase-init-unattend.log'
              -Pattern 'Traceback\s+\(most\s+recent\s+call\s+last\)'
              -AllMatches<commit_msg>Fix the passing of parameters to function.<commit_after># Look for any tracebacks in the code
$osArch = (Get-WmiObject Win32_OperatingSystem).OSArchitecture
if($osArch -eq "64-bit")
{

   $programFilesDir = ${ENV:ProgramFiles(x86)}
}
else
{
   $programFilesDir = $ENV:ProgramFiles
}

Select-string -Path $programFilesDir'\Cloudbase Solutions\Cloudbase-Init\log\cloudbase-init.log' `
              -Pattern 'Traceback\s+\(most\s+recent\s+call\s+last\)' `
              -AllMatches -Context 10
Select-string -Path $programFilesDir'\Cloudbase Solutions\Cloudbase-Init\log\cloudbase-init-unattend.log' `
              -Pattern 'Traceback\s+\(most\s+recent\s+call\s+last\)' `
              -AllMatches `
{'fraction_non_alphanumeric': 0.13854089904200442, 'fraction_numerical': 0.011790714812085483, 'mean_word_length': 3.4818481848184817, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '5616540', 'n_tokens_mistral': 466, 'n_tokens_neox': 447, 'n_words': 75}