Update error message in tools repo (#1405)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
This commit is contained in:
parent
ffd79fcc74
commit
7d04092708
@ -188,5 +188,7 @@ if ($GetGithubIoDocIndexFn -and (Test-Path "function:$GetGithubIoDocIndexFn"))
|
||||
}
|
||||
else
|
||||
{
|
||||
LogWarning "The function 'GetGithubIoDocIndexFn' was not found."
|
||||
LogWarning "The function for 'GetGithubIoDocIndexFn' was not found.`
|
||||
Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.`
|
||||
See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure"
|
||||
}
|
||||
|
||||
@ -59,7 +59,9 @@ if ($FindArtifactForApiReviewFn -and (Test-Path "Function:$FindArtifactForApiRev
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host "Function 'FindArtifactForApiReviewFn' is not found"
|
||||
Write-Host "The function for 'FindArtifactForApiReviewFn' was not found.`
|
||||
Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.`
|
||||
See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure"
|
||||
exit(1)
|
||||
}
|
||||
|
||||
|
||||
@ -99,7 +99,9 @@ function Get-PkgProperties
|
||||
}
|
||||
else
|
||||
{
|
||||
LogError "The function '$GetPackageInfoFromRepoFn' was not found."
|
||||
LogError "The function for '$GetPackageInfoFromRepoFn' was not found.`
|
||||
Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.`
|
||||
See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure"
|
||||
}
|
||||
|
||||
if ($pkgProps -ne $null)
|
||||
|
||||
@ -99,7 +99,9 @@ function RetrievePackages($artifactLocation) {
|
||||
}
|
||||
else
|
||||
{
|
||||
LogError "The function '$GetPackageInfoFromPackageFileFn' was not found."
|
||||
LogError "The function for '$GetPackageInfoFromPackageFileFn' was not found.`
|
||||
Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.`
|
||||
See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -238,6 +238,8 @@ if ($PublishGithubIODocsFn -and (Test-Path "Function:$PublishGithubIODocsFn"))
|
||||
}
|
||||
else
|
||||
{
|
||||
LogWarning "The function '$PublishGithubIODocsFn' was not found."
|
||||
LogWarning "The function for '$PublishGithubIODocsFn' was not found.`
|
||||
Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.`
|
||||
See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure"
|
||||
}
|
||||
|
||||
|
||||
@ -62,7 +62,9 @@ foreach ($config in $targets) {
|
||||
}
|
||||
else
|
||||
{
|
||||
LogWarning "The function '$UpdateDocCIFn' was not found."
|
||||
LogWarning "The function for '$UpdateDocCIFn' was not found.`
|
||||
Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.`
|
||||
See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user