diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-11-11 16:41:56 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-11-11 16:41:56 +0300 |
commit | 87ef039f2a522504d447e6e8c411fe7bfcdec251 (patch) | |
tree | 6acdf1b61187a3cbbbf75a1622feb3edc39c8682 | |
parent | support "Win32" as alias for "x86" (diff) | |
download | vs-shell-87ef039f2a522504d447e6e8c411fe7bfcdec251.tar.gz vs-shell-87ef039f2a522504d447e6e8c411fe7bfcdec251.zip |
PowerShell code style
-rw-r--r-- | action.yml | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -57,12 +57,12 @@ runs: param( [Parameter(Mandatory=$true)] - [object] $info, + [object] $Info, [Parameter(Mandatory=$true)] [string] $Arch ) - $tools_path = Join-Path $info.installationPath 'Common7' 'Tools' + $tools_path = Join-Path $Info.installationPath 'Common7' 'Tools' $module_name = 'Microsoft.VisualStudio.DevShell.dll' $module_path = Join-Path $tools_path $module_name @@ -75,7 +75,7 @@ runs: } Import-Module $module_path - Enter-VsDevShell -VsInstanceId $info.instanceId -SkipAutomaticLocation -DevCmdArguments "-arch=$Arch -no_logo" + Enter-VsDevShell -VsInstanceId $Info.instanceId -SkipAutomaticLocation -DevCmdArguments "-arch=$Arch -no_logo" } function Import-CMD { @@ -85,12 +85,12 @@ runs: param( [Parameter(Mandatory=$true)] - [object] $info, + [object] $Info, [Parameter(Mandatory=$true)] [string] $Arch ) - $tools_path = Join-Path $info.installationPath 'Common7' 'Tools' + $tools_path = Join-Path $Info.installationPath 'Common7' 'Tools' $script_name = 'VsDevCmd.bat' $script_path = Join-Path $tools_path $script_name |