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

ENOENT: no such file or directory, open '.hubot_history' #1722

Closed
joeyguerra opened this issue Apr 15, 2024 · 1 comment
Closed

ENOENT: no such file or directory, open '.hubot_history' #1722

joeyguerra opened this issue Apr 15, 2024 · 1 comment

Comments

@joeyguerra
Copy link
Member

joeyguerra commented Apr 15, 2024

In the Shell Adapter, when the .hubot_history file size is greater than the historySize, the code deletes the file. The problem is the code that creates the file if it doesn't exist runs prior to the size checking/deleting code.

@joeyguerra
Copy link
Member Author

I belive this fixes it.

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

No branches or pull requests

2 participants
@joeyguerra and others