refactor(cursor): Improve portability of sed commands in install script and update error handling in common.ps1
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user