Vote #81750
完了Use File.exist? instead of deprecated File.exists?
開始日:
2022/05/09
期日:
進捗率:
0%
予定工数:
Redmineorg_URL:
category_id:
30
version_id:
155
issue_org_id:
36358
author_id:
332
assigned_to_id:
332
comments:
1
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
説明
you will see a lot of deprecation warnings when running tests with Ruby 3.0 or later.
/path/to/redmine/lib/redmine/scm/adapters/abstract_adapter.rb:219: warning: File.exists? is deprecated; use File.exist? instead
The attached patch replaces all @File.exists?@ with @File.exist?@.
journals
Committed the patch.
--------------------------------------------------------------------------------
Admin Redmine さんが3年以上前に更新
- カテゴリ を Code cleanup/refactoring_30 にセット
- 対象バージョン を 5.0.0_155 にセット
いいね!0