Skip to content

Fix Error::ENOENT on delete temporary file#123

Merged
hidakatsuya merged 2 commits intomainfrom
fix-error-enoent-on-delete-temporary-file
May 9, 2023
Merged

Fix Error::ENOENT on delete temporary file#123
hidakatsuya merged 2 commits intomainfrom
fix-error-enoent-on-delete-temporary-file

Conversation

@hidakatsuya
Copy link
Copy Markdown
Member

@hidakatsuya hidakatsuya commented May 9, 2023

In CI (GitHub Actions), the following error occurs rarely.

Errno::ENOENT: No such file or directory @ apply2files

image file is a Tempfile, so instead of File.delete, close and delete the file by using Tempfile#close!

@hidakatsuya hidakatsuya self-assigned this May 9, 2023
@hidakatsuya hidakatsuya merged commit 7eec606 into main May 9, 2023
@hidakatsuya hidakatsuya deleted the fix-error-enoent-on-delete-temporary-file branch May 9, 2023 16:53
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.

1 participant