Skip to content

Commit

Permalink
fel-remotefunc-compiler: Fix for newer ruby versions
Browse files Browse the repository at this point in the history
File.exists got removed from Ruby, File.exist should be used instead.
  • Loading branch information
iscle authored and apritzel committed Oct 13, 2024
1 parent df60a46 commit 29d48c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fel-remotefunc-compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def tool_exists(tool_name)
end

def parse_stack_usage(filename)
return unless File.exists?(filename)
return unless File.exist?(filename)
File.read(filename).strip.split("\n").map do |l|
if l =~ /\:([^\:\s]+)\s+(\d+)\s+(\S+)/
if $3 != "static"
Expand Down

0 comments on commit 29d48c3

Please sign in to comment.