aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-11-11 16:41:56 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-11-11 16:41:56 +0300
commit87ef039f2a522504d447e6e8c411fe7bfcdec251 (patch)
tree6acdf1b61187a3cbbbf75a1622feb3edc39c8682
parentsupport "Win32" as alias for "x86" (diff)
downloadvs-shell-87ef039f2a522504d447e6e8c411fe7bfcdec251.tar.gz
vs-shell-87ef039f2a522504d447e6e8c411fe7bfcdec251.zip
PowerShell code style
Diffstat (limited to '')
-rw-r--r--action.yml10
1 files 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