diff --git a/eng/common/scripts/Update-DocsMsToc.ps1 b/eng/common/scripts/Update-DocsMsToc.ps1 index 47edd401b97f..7747b77cb106 100644 --- a/eng/common/scripts/Update-DocsMsToc.ps1 +++ b/eng/common/scripts/Update-DocsMsToc.ps1 @@ -38,12 +38,13 @@ param( [Parameter(Mandatory = $true)] [string] $OutputLocation ) -Set-StrictMode -Version 3 . $PSScriptRoot/common.ps1 . $PSScriptRoot/Helpers/PSModule-Helpers.ps1 Install-ModuleIfNotInstalled "powershell-yaml" "0.4.1" | Import-Module +Set-StrictMode -Version 3 + function GetClientPackageNode($clientPackage) { $packageInfo = &$GetDocsMsTocDataFn ` -packageMetadata $clientPackage `