Skip to content

Commit

Permalink
File.exists? is removed at Ruby 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jun 29, 2023
1 parent 0c60a0b commit 3feb683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/microsummary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def create_xml file_name

def microsummary_init
@conf['generator.xml'] ||= ""
create_xml( @conf['generator.xml'] ) unless File::exists? @conf['generator.xml']
create_xml( @conf['generator.xml'] ) unless File::exist? @conf['generator.xml']
end

if @mode == 'saveconf'
Expand Down

0 comments on commit 3feb683

Please sign in to comment.