From 87ef039f2a522504d447e6e8c411fe7bfcdec251 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 11 Nov 2021 16:41:56 +0300 Subject: PowerShell code style --- action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/action.yml b/action.yml index 6458308..27e4799 100644 --- a/action.yml +++ b/action.yml @@ -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 -- cgit v1.2.3