Skip to content

Commit

Permalink
Add newline at the end in dev script
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Jul 21, 2024
1 parent 03e78f2 commit ba85d23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ def extract_api(file, prefix)
.map { _1.gsub(/^.*#{prefix} (.*)$/, '\1') }
.tap { puts "#{file}: #{_1.size} lines".yellow }
.join("\n")
.chomp
.+("\n")
end

def extract_ffi(file)
Expand All @@ -29,4 +31,6 @@ def extract_ffi(file)
.map { _1.gsub(/^.*try_extern '([^']+)'.*$/, '\1') }
.tap { puts "#{file}: #{_1.size} lines".yellow }
.join("\n")
.chomp
.+("\n")
end

0 comments on commit ba85d23

Please sign in to comment.