Skip to content

Commit 156df60

Browse files
committed
Add warning for ignored UseCoreToolsBuildFromIntegrationTests switch
1 parent d45d221 commit 156df60

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/E2E/Start-E2ETest.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ function NewTaskHubName
6060
$sb.ToString()
6161
}
6262

63+
if ($UseCoreToolsBuildFromIntegrationTests.IsPresent)
64+
{
65+
Write-Warning "UseCoreToolsBuildFromIntegrationTests switch is ignored"
66+
}
67+
6368
$FUNC_RUNTIME_VERSION = '4'
6469
$POWERSHELL_VERSION = '7.4'
6570
$FUNC_CMDLET_NAME = "func"
@@ -109,7 +114,7 @@ Remove-Item -Recurse -Force $FUNC_CLI_DIRECTORY -ErrorAction Ignore
109114
if (-not $SkipCoreToolsDownload)
110115
{
111116
Write-Host "Downloading Core Tools because SkipCoreToolsDownload switch parameter is not present..."
112-
117+
113118
$coreToolsDownloadURL = "https://github.com/Azure/azure-functions-core-tools/releases/download/$CORE_TOOLS_VERSION/Azure.Functions.Cli.$os-$arch.$CORE_TOOLS_VERSION.zip"
114119
Write-Host "Downloading Functions Core Tools (Version: $CORE_TOOLS_VERSION)..."
115120

0 commit comments

Comments
 (0)