diff --git a/NOTES.txt b/NOTES.txt index 5f7ab4ab7..90ccbde66 100644 --- a/NOTES.txt +++ b/NOTES.txt @@ -100,9 +100,11 @@ This is laravel/framework version, not laravel/laravel version: - I have cloned repository at - E:\htdocs\laravel-src-master - based on Laravel v8.26.1 - upgrade to Laravel v8.41.0 ( 15.5.2021, but I didn't merged/reflected new changes to TinyORM ) + - upgrade to Laravel v8.80.0 ( 19.1.2021, upgrade from v8.41.0 ) - compare URLs (remove after merge): - https://github.com/laravel/framework/compare/v8.26.1...v8.41.0 - - https://github.com/laravel/framework/compare/v8.41.0...v8.68.1 + - https://github.com/laravel/framework/compare/v8.41.0...v8.80.0 + Maintenance: ------------ diff --git a/tools/Add-FolderOnPath.ps1 b/tools/Add-FolderOnPath.ps1 index 243d2182a..9a7a150ec 100644 --- a/tools/Add-FolderOnPath.ps1 +++ b/tools/Add-FolderOnPath.ps1 @@ -33,11 +33,11 @@ begin { . $PSScriptRoot\private\Common.ps1 - function Initialize-EnvVariable { + function Get-EnvVariable { [OutputType([string[]])] Param() - # Initialize by passed Variable value + # Get by passed Variable value if ($Variable) { if ($Variable.StartsWith('env:')) { return $Variable, ($Variable.TrimStart('env:')) @@ -48,7 +48,7 @@ begin { $platform = $PSVersionTable.Platform - # Initialize by platform defaults + # Get by platform defaults switch ($platform) { 'Win32NT' { return 'env:Path', 'Path' @@ -121,7 +121,7 @@ begin { } # Obtain paths to add and excluded paths - function Initialize-Paths { + function Get-Paths { [CmdletBinding(PositionalBinding = $false)] [OutputType([string[]])] Param( @@ -265,7 +265,7 @@ begin { | Select-Object -ExpandProperty Value # Obtain paths to add and excluded paths - $pathsToAdd, $pathsExcluded = Initialize-Paths -VariableValue $variableValue + $pathsToAdd, $pathsExcluded = Get-Paths -VariableValue $variableValue # Nothing to add if ($pathsToAdd.Length -eq 0) { @@ -289,7 +289,7 @@ begin { exit 0 } - $Script:envVariable, $Script:envVariableRaw = Initialize-EnvVariable + $Script:envVariable, $Script:envVariableRaw = Get-EnvVariable } process {