refactor(cursor): Improve portability of sed commands in install script and update error handling in common.ps1

This commit is contained in:
Alex Newman
2025-12-29 22:32:07 -05:00
parent d160df4b86
commit 646db6c490
3 changed files with 24 additions and 17 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
# Common utility functions for Cursor hooks (PowerShell)
# Dot-source this file in hook scripts: . "$PSScriptRoot\common.ps1"
$ErrorActionPreference = "SilentlyContinue"
# Note: ErrorActionPreference should be set in each script, not globally here
# Get worker port from settings with validation
function Get-WorkerPort {