Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Improve init.sh robustness and IDE configuration handling #168

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

peterlodri92
Copy link

Fixes #159

Changes

Error Handling Improvements

  • Add existence checks before file operations to prevent errors

    • Only attempt to replace content in files that exist
    • Only attempt to move files if source exists
    • Only attempt to remove files if they exist
  • Directory Management

    • Create target directories before moving files to prevent path-related errors
    • Ensure .idea/runConfigurations directory exists before processing
    • Create .vscode directory for VS Code configuration
  • Code Quality

    • Add comments to explain key script sections
    • Improve IDE configuration handling logic
    • Maintain backward compatibility with existing initialization behavior

These changes make the initialization script more robust and less likely to fail see

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot execute init.sh
2 participants