File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/ruby_wasm/build_system/product Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def name
41
41
end
42
42
43
43
def build
44
- return if !@need_fetch_lib && File . exist? ( lib_wasi_vfs_a )
44
+ return if !@need_fetch_lib || File . exist? ( lib_wasi_vfs_a )
45
45
require "tmpdir"
46
46
lib_wasi_vfs_url =
47
47
"https://github.com/kateinoigakukun/wasi-vfs/releases/download/v#{ WASI_VFS_VERSION } /libwasi_vfs-wasm32-unknown-unknown.zip"
@@ -54,7 +54,7 @@ def build
54
54
end
55
55
56
56
def install_cli
57
- return if !@need_fetch_cli && File . exist? ( cli_bin_path )
57
+ return if !@need_fetch_cli || File . exist? ( cli_bin_path )
58
58
FileUtils . mkdir_p cli_product_build_dir
59
59
zipfile = File . join ( cli_product_build_dir , "wasi-vfs-cli.zip" )
60
60
system "curl -L -o #{ zipfile } #{ self . cli_download_url } "
You can’t perform that action at this time.
0 commit comments