Skip to content

Commit

Permalink
Move Set-StrictMode to run after PSModule-Helpers.ps1 operations whic…
Browse files Browse the repository at this point in the history
  • Loading branch information
azure-sdk and danieljurek authored Feb 24, 2022
1 parent c6b943c commit 30f1204
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eng/common/scripts/Update-DocsMsToc.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 `
Expand Down

0 comments on commit 30f1204

Please sign in to comment.