<commit_before>﻿<#
.Synopsis
   If $env:OctopusURI or $env:OctopusAPIKey are $null or empty, this function throw an error. Otherwise It'll return $true
.DESCRIPTION
   If $env:OctopusURI or $env:OctopusAPIKey are $null or empty, this function throw an error. Otherwise It'll return $true
.EXAMPLE
   Test-OctopusConnectionInfo
.LINK
   Github project: ghttps://github.com/Dalmirog/OctopusDeploy-Powershell-module    
#>
function Test-OctopusConnectionInfo
{
    Begin
    {
        
    }
    Process
    {
        If($env:OctopusURI -eq $null -or $env:OctopusURI -eq "" -or $env:OctopusAPIKey -eq $null -or $env:OctopusAPIKey -eq "")
        {
            throw "At least one of the following variables do not have a value set: `$env:OctopusURI or `$env:OctopusAPIKey. Use Set-OctopusConnectionInfo to set values on these variables"            
        }
        else{
            return $true
        }
    }
    End
    {
        
    }
}<commit_msg>Testing issue closure from message<commit_after>﻿<#
.Synopsis
   If $env:OctopusURI or $env:OctopusAPIKey are $null or empty, this function throw an error. Otherwise It'll return $true
.DESCRIPTION
   If $env:OctopusURI or $env:OctopusAPIKey are $null or empty, this function throw an error. Otherwise It'll return $true
.EXAMPLE
   Test-OctopusConnectionInfo
.LINK
   Github project: ghttps://github.com/Dalmirog/OctopusDeploy-Powershell-module.
#>
function Test-OctopusConnectionInfo
{
    Begin
    {
        
    }
    Process
    {
        If($env:OctopusURI -eq $null -or $env:OctopusURI -eq "" -or $env:OctopusAPIKey -eq $null -or $env:OctopusAPIKey -eq "")
        {
            throw "At least one of the following variables do not have a value set: `$env:OctopusURI or `$env:OctopusAPIKey. Use Set-OctopusConnectionInfo to set values on these variables"            
        }
        else{
            return $true
        }
    }
    End
    {
        
    }
}
{'fraction_non_alphanumeric': 0.091995841995842, 'fraction_numerical': 0.0, 'mean_word_length': 2.5256410256410255, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '1066845', 'n_tokens_mistral': 635, 'n_tokens_neox': 595, 'n_words': 182}