Skip to content

Commit

Permalink
Fixes path separator between Win and macOS
Browse files Browse the repository at this point in the history
Adds extra new line to avoid conflicts
  • Loading branch information
waldekmastykarz committed Dec 18, 2023
1 parent b8fa8bb commit d5b14ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if (!(Test-Path $PROFILE)) {
}

if (!(Select-String -Path $PROFILE -Pattern "devproxy")) {
Add-Content -Path $PROFILE -Value "`$env:PATH += `":$full_path`""
Add-Content -Path $PROFILE -Value "$([Environment]::NewLine)`$env:PATH += `"$([IO.Path]::PathSeparator)$full_path`""
}

Write-Host "Dev Proxy $version installed!"
Expand Down

0 comments on commit d5b14ec

Please sign in to comment.