Skip to content

Commit

Permalink
Fix Ruby 3 compatibility (#168)
Browse files Browse the repository at this point in the history
Remove use of `File.exists?` in gemspec.

Closes #166
  • Loading branch information
silug authored Nov 27, 2023
1 parent a139bf8 commit a0da546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simp-compliance-engine.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Simp
class Helpers
def self.get_param(param, command)
file = "#{File.dirname(__FILE__)}/.gem_#{param}"
if (File.exists?(file))
if (File.exist?(file))
info = File.read(file)
else
info = `#{command}`
Expand Down

0 comments on commit a0da546

Please sign in to comment.