Suppress race condition errors in CLAUDE.md symlink management
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -152,13 +152,13 @@ class Rsx_Framework_Provider extends ServiceProvider
|
||||
mkdir($claude_dir, 0755, true);
|
||||
}
|
||||
|
||||
// Remove existing symlink if present
|
||||
// Remove existing symlink if present (suppress error for race condition)
|
||||
if (is_link($claude_symlink)) {
|
||||
unlink($claude_symlink);
|
||||
@unlink($claude_symlink);
|
||||
}
|
||||
|
||||
// Create symlink to distributed CLAUDE.md
|
||||
symlink($dist_claude, $claude_symlink);
|
||||
// Create symlink to distributed CLAUDE.md (suppress error for race condition)
|
||||
@symlink($dist_claude, $claude_symlink);
|
||||
|
||||
// Make it read-only (remove write permissions)
|
||||
@chmod($claude_symlink, 0444);
|
||||
|
||||
Reference in New Issue
Block a user