<commit_before>﻿[CmdletBinding()]
param()
Trace-VstsEnteringInvocation $MyInvocation
try {
    [string]$dacpacFilePath = Get-VstsInput -Name dacpacFilePath -Require
    [string]$xmlPublishFilePath = Get-VstsInput -Name xmlPublishFilePath
    [string]$schemaToExclude = Get-VstsInput -Name schemaToExclude
    [string]$blockOnDropDataAsString = Get-VstsInput -Name blockOnDropDataAsString

    $user=[Security.Principal.WindowsIdentity]::GetCurrent()
    Write-Debug "Deploying as  $user.Name"

    Write-Debug "DACPAC file: $dacpacFilePath"
    if(-not($xmlPublishFilePath) -or $xmlPublishFilePath -eq $env:SYSTEM_DEFAULTWORKINGDIRECTORY) {
        $xmlPublishFilePath =  [System.IO.Path]::GetFileNameWithoutExtension($dacpacFilePath) + ".publish.xml"
    }
    Write-Debug "Publish profile file: $xmlPublishFilePath"<commit_msg>Correction of publish profile default path<commit_after>﻿[CmdletBinding()]
param()
Trace-VstsEnteringInvocation $MyInvocation
try {
    [string]$dacpacFilePath = Get-VstsInput -Name dacpacFilePath -Require
    [string]$xmlPublishFilePath = Get-VstsInput -Name xmlPublishFilePath
    [string]$schemaToExclude = Get-VstsInput -Name schemaToExclude
    [string]$blockOnDropDataAsString = Get-VstsInput -Name blockOnDropDataAsString

    $user=[Security.Principal.WindowsIdentity]::GetCurrent()
    Write-Debug "Deploying as  $user.Name"

    Write-Debug "DACPAC file: $dacpacFilePath"
    if(-not($xmlPublishFilePath) -or $xmlPublishFilePath -eq $env:SYSTEM_DEFAULTWORKINGDIRECTORY) {
        $xmlPublishFilePath =  [System.IO.Path]::GetDirectoryName($dacpacFilePath) + "\" + [System.IO.Path]::GetFileNameWithoutExtension($dacpacFilePath) + ".publish.xml"
    }
    Write-Debug "Publish profile file: $xmlPublishFilePath"
{'fraction_non_alphanumeric': 0.11333714939896966, 'fraction_numerical': 0.0, 'mean_word_length': 5.546816479400749, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 14}, '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': '258646', 'n_tokens_mistral': 559, 'n_tokens_neox': 543, 'n_words': 93}