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 committed Oct 12, 2024
1 parent df60a46 commit 984e81f
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 984e81f

Please sign in to comment.