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

feat(shell): add case insensitivity to filecontent method #4306

Conversation

warrenbuckley
Copy link
Contributor

@warrenbuckley warrenbuckley commented Oct 2, 2023

Prerequisites

  • I have read and understood the contributing guide.
  • The commit message follows the conventional commits guidelines.
  • Tests for the changes have been added (for bug fixes / features).
  • Docs have been added/updated (for bug fixes / features).

Description

🤖 Generated by Copilot at 66fa77c

Fix file content reading bug in FileContent function. Improve shell segment compatibility with different file systems and platforms.

How

🤖 Generated by Copilot at 66fa77c

  • Fix case insensitive file name matching in FileContent function (link)
  • Add debug logging and error handling to FileContent function (link)
  • Update shell_test.go to use lower case file names for testing FileContent function (link)

@warrenbuckley
Copy link
Contributor Author

@JanDeDobbeleer let me know your thoughts & what you want me to tidyup

@warrenbuckley warrenbuckley marked this pull request as ready for review October 2, 2023 18:22
@JanDeDobbeleer
Copy link
Owner

Closing due to comment in main PR, keeping this for reference.

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.

2 participants