fix(core): Install-SublimePackagesFromCache ver

This commit is contained in:
Iristyle
2013-09-17 12:48:17 -04:00
parent 70cbb540b8
commit 5ad3117d06

View File

@@ -68,7 +68,12 @@ function Install-SublimePackagesFromCache
param(
[Parameter(Mandatory = $true)]
[string]
$Directory
$Directory,
[Parameter(Mandatory = $false)]
[ValidateRange(2,3)]
[int]
$Version = 2
)
$packagesPath = Get-SublimePackagesPath -Version $Version