Skip to content

Commit 9d789fb

Browse files
committed
👮 rubocop --autocorrect --only Layout/TrailingWhitespace
1 parent 92b0669 commit 9d789fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_tools/ruby_h_to_go/exe/ruby_h_to_go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ opt.on("-D", "--dist-dir DIST_DIR", "dist dir for auto-generated Go code (defaul
4141
dist_dir = v
4242
end
4343

44-
opt.on("-p", "--dist-dir DIST_DIR",
44+
opt.on("-p", "--dist-dir DIST_DIR",
4545
"dist preprocessed ruby header file (default: #{DEFAULT_DIST_PREPROCESSED_HEADER_FILE})") do |v|
4646
dist_preprocessed_header_file = v
4747
end

_tools/ruby_h_to_go/lib/ruby_header_parser/parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Parser # rubocop:disable Metrics/ClassLength
2222
# @param header_file [String] path to ruby.h
2323
# @param include_paths [Array<String>]
2424
# @param dist_preprocessed_header_file [String]
25-
def initialize(dist_preprocessed_header_file:, header_file: "#{RbConfig::CONFIG["rubyhdrdir"]}/ruby.h",
25+
def initialize(dist_preprocessed_header_file:, header_file: "#{RbConfig::CONFIG["rubyhdrdir"]}/ruby.h",
2626
include_paths: [RbConfig::CONFIG["rubyarchhdrdir"], RbConfig::CONFIG["rubyhdrdir"]])
2727
@header_file = header_file
2828
@include_paths = include_paths

0 commit comments

Comments
 (0)