mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-05-06 16:49:19 -05:00
tools pwsh removed useless $($(
This commit is contained in:
@@ -5,7 +5,7 @@ Param(
|
||||
[Parameter(Position = 0, ValueFromPipeline, ValueFromPipelinebyPropertyName,
|
||||
HelpMessage = 'Specifies the folder to add on the system path, is pwd by default.')]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[string[]] $Path = $($(Get-Location).Path),
|
||||
[string[]] $Path = (Get-Location).Path,
|
||||
|
||||
[Parameter(Position = 1, ValueFromPipelinebyPropertyName,
|
||||
HelpMessage = 'Specifies the environment variable to which to add a Path, is env:PATH ' +
|
||||
|
||||
@@ -10,7 +10,7 @@ Param(
|
||||
[Parameter(Position = 1,
|
||||
HelpMessage = 'Specifies the path to the project folder, is pwd by default.')]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[string] $Path = $($(Get-Location).Path) + '\*',
|
||||
[string] $Path = (Get-Location).Path + '\*',
|
||||
|
||||
[Parameter(Position = 2,
|
||||
HelpMessage = 'Specifies an array of one or more string patterns to be matched as the ' +
|
||||
|
||||
@@ -9,7 +9,7 @@ Param(
|
||||
[Parameter(Position = 1,
|
||||
HelpMessage = 'Specifies the path to the qmake build folder, is pwd by default.')]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[string] $BuildPath = $($(Get-Location).Path)
|
||||
[string] $BuildPath = (Get-Location).Path
|
||||
)
|
||||
|
||||
Set-StrictMode -Version 3.0
|
||||
|
||||
@@ -9,7 +9,7 @@ Param(
|
||||
[Parameter(
|
||||
HelpMessage = 'Specifies the path to the CMake build folder, is pwd by default.')]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[string] $BuildPath = $($(Get-Location).Path),
|
||||
[string] $BuildPath = (Get-Location).Path,
|
||||
|
||||
[Parameter(HelpMessage = 'Specifies the cpp files to be processed, is joined with ' +
|
||||
'the | character and used in the parenthesized regex eg. (file1|file2).')]
|
||||
|
||||
+1
-1
@@ -989,7 +989,7 @@ function Show-DiffSummaryAndApprove {
|
||||
[Parameter(
|
||||
HelpMessage = 'Specifies the folder for which to show git diff, is pwd by default.')]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[string[]] $Path = $($(Get-Location).Path)
|
||||
[string[]] $Path = (Get-Location).Path
|
||||
)
|
||||
|
||||
Write-Progress 'Showing diff summary...'
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ Param(
|
||||
[Parameter(Position = 0, ValueFromPipeline, ValueFromPipelinebyPropertyName,
|
||||
HelpMessage = 'Specifies the TinyORM debug build folder to add.')]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[string[]] $BuildPath = $($(Get-Location).Path)
|
||||
[string[]] $BuildPath = (Get-Location).Path
|
||||
)
|
||||
|
||||
Set-StrictMode -Version 3.0
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ Param(
|
||||
[Parameter(Position = 0, ValueFromPipeline, ValueFromPipelinebyPropertyName,
|
||||
HelpMessage = 'Specifies the TinyORM release build folder to add.')]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[string[]] $BuildPath = $($(Get-Location).Path)
|
||||
[string[]] $BuildPath = (Get-Location).Path
|
||||
)
|
||||
|
||||
Set-StrictMode -Version 3.0
|
||||
|
||||
Reference in New Issue
Block a user