Skip to content

Commit

Permalink
Update input_to_output method arguments to use dissimilar names
Browse files Browse the repository at this point in the history
This method using `_` for both arguments was causing Sorbet to fail when generating type information (sorbet/sorbet#3561). This change doesn't modify any functionality or outward API in the gem itself. The argument names are based on the arguments for input_to_output in `lib/bootsnap/compile_cache/yaml.rb`.
  • Loading branch information
connorshea committed Nov 7, 2020
1 parent b0e7318 commit 03261ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bootsnap/compile_cache/iseq.rb
Expand Up @@ -35,7 +35,7 @@ def self.fetch(path, cache_dir: ISeq.cache_dir)
)
end

def self.input_to_output(_, _)
def self.input_to_output(_data, _kwargs)
nil # ruby handles this
end

Expand Down

0 comments on commit 03261ce

Please sign in to comment.