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

Lint a random file #3946

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

osc-bot
Copy link
Collaborator

@osc-bot osc-bot commented Nov 10, 2024

The result of linting a random file.

@@ -27,9 +29,8 @@ def socket
# Delete the socket from the file system
def delete
@socket.delete
rescue
$stderr.puts "Unable to delete socket file at #{socket}"
rescue StandardError
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think file Errors are StandardErrors so I can't pull this in as is. I.e., this wouldn't actually get rescued.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I'm wrong. This catches file errors.

@johrstrom johrstrom merged commit 7227f3c into OSC:master Nov 13, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants