Skip to content

Commit d7b174e

Browse files
authored
Update the dependencies of autorest.powershell to 4.0.721 for tsp (#1395)
1 parent e279ce4 commit d7b174e

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

packages/typespec-powershell/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
},
1717
"dependencies": {
18-
"@autorest/powershell": "~4.0.708",
18+
"@autorest/powershell": "~4.0.721",
1919
"@autorest/codemodel": "~4.19.3",
2020
"@autorest/extension-base": "~3.5.2",
2121
"@azure-tools/async-io": "~3.0.0",

tests-upgrade/tests-emitter/Sphere.Management/target/Az.Sphere.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<TargetFramework>netstandard2.0</TargetFramework>
77
<OutputType>Library</OutputType>
88
<AssemblyName>Az.Sphere.private</AssemblyName>
9+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
910
<RootNamespace>Microsoft.Azure.PowerShell.Cmdlets.Sphere</RootNamespace>
1011
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1112
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
@@ -19,7 +20,6 @@
1920
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2021
<WarningsAsErrors />
2122
</PropertyGroup>
22-
2323
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
2424
<DelaySign>false</DelaySign>
2525
<DefineConstants>TRACE;DEBUG;NETSTANDARD</DefineConstants>

tests-upgrade/tests-emitter/Sphere.Management/target/build-module.ps1

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ if(-not $NotIsolated -and -not $Debugger) {
7575
$binFolder = Join-Path $PSScriptRoot 'bin'
7676
$objFolder = Join-Path $PSScriptRoot 'obj'
7777

78+
$isAzure = [System.Convert]::ToBoolean('true')
79+
7880
if(-not $Debugger) {
7981
Write-Host -ForegroundColor Green 'Cleaning build folders...'
8082
$null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path $binFolder, $objFolder
@@ -151,7 +153,7 @@ if($NoDocs) {
151153
$null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
152154
}
153155
$null = New-Item -ItemType Directory -Force -Path $docsFolder
154-
$addComplexInterfaceInfo = ![System.Convert]::ToBoolean('true')
156+
$addComplexInterfaceInfo = !$isAzure
155157
Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid -AddComplexInterfaceInfo:$addComplexInterfaceInfo
156158
}
157159

@@ -186,5 +188,4 @@ if (-not $DisableAfterBuildTasks){
186188
}
187189
}
188190

189-
190-
Write-Host -ForegroundColor Green '-------------Done-------------'
191+
Write-Host -ForegroundColor Green '-------------Done-------------'

0 commit comments

Comments
 (0)