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
270
270
# as part of ruby_wasm gem to backport fixes or try experimental features
271
271
# before landing them to the ruby/ruby repository.
272
272
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 , ".." , ".." )
274
276
File . join ( lib_source_root , "patches" )
275
277
end
276
278
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class RubyWasm::Packager
23
23
@definition: untyped
24
24
@config: build_config
25
25
26
- def initialize : (build_config?, untyped ?) -> void
26
+ def initialize : (string root, build_config?, untyped ? definition ) -> void
27
27
28
28
def package : (RubyWasm::BuildExecutor, string dest_dir, untyped options) -> Array[Integer]
29
29
You can’t perform that action at this time.
0 commit comments