File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,9 @@ def root
270270 # as part of ruby_wasm gem to backport fixes or try experimental features
271271 # before landing them to the ruby/ruby repository.
272272 def self . bundled_patches_path
273- lib_source_root = File . join ( __dir__ , ".." , ".." )
273+ dir = __dir__
274+ raise "Unexpected directory structure, no __dir__!??" unless dir
275+ lib_source_root = File . join ( dir , ".." , ".." )
274276 File . join ( lib_source_root , "patches" )
275277 end
276278
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class RubyWasm::Packager
2323 @definition: untyped
2424 @config: build_config
2525
26- def initialize : (build_config?, untyped ?) -> void
26+ def initialize : (string root, build_config?, untyped ? definition ) -> void
2727
2828 def package : (RubyWasm::BuildExecutor, string dest_dir, untyped options) -> Array[Integer]
2929
You can’t perform that action at this time.
0 commit comments