Fix typos
This commit is contained in:
parent
6fd2016c39
commit
dd78af2f54
|
@ -230,7 +230,7 @@ function Start-Setup {
|
|||
Add-StartupCommand `
|
||||
-Script (
|
||||
"powershell -Command " +
|
||||
($env:DEBUG ? "`$env:DEBUG = $([int]$env:DEBUG)" : "") +
|
||||
($env:DEBUG ? "`$env:DEBUG = $([int]$env:DEBUG);" : "") +
|
||||
"`$env:PWSH_PATH = $(Get-PathInjection $env:PWSH_PATH);" +
|
||||
"`$env:INSTALLER_SCRIPT = $(Get-ScriptPathInjection $env:SETUP_SCRIPT_NAME);" +
|
||||
"`$env:CONFIG_MODULE = $(Get-ScriptPathInjection $env:CONFIG_MODULE);" +
|
||||
|
|
|
@ -53,7 +53,7 @@ $null = New-Module {
|
|||
function Get-StartupArguments {
|
||||
"-Command " +
|
||||
($env:PWSH_PATH ? "`$env:PWSH_PATH = $(ConvertTo-Injection $env:PWSH_PATH);" : "") +
|
||||
($env:DEBUG ? "`$env:DEBUG = $([int]$env:DEBUG)" : "") +
|
||||
($env:DEBUG ? "`$env:DEBUG = $([int]$env:DEBUG);" : "") +
|
||||
"`$env:INSTALLER_SCRIPT = $(ConvertTo-Injection (Resolve-Path $env:INSTALLER_SCRIPT));" +
|
||||
"`$env:CONFIG_MODULE = $(ConvertTo-Injection (Resolve-Path $env:CONFIG_MODULE));" +
|
||||
"& `$env:INSTALLER_SCRIPT;";
|
||||
|
|
Loading…
Reference in a new issue