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
4141 end
4242
4343 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 )
4545 require "tmpdir"
4646 lib_wasi_vfs_url =
4747 "https://github.com/kateinoigakukun/wasi-vfs/releases/download/v#{ WASI_VFS_VERSION } /libwasi_vfs-wasm32-unknown-unknown.zip"
@@ -54,7 +54,7 @@ def build
5454 end
5555
5656 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 )
5858 FileUtils . mkdir_p cli_product_build_dir
5959 zipfile = File . join ( cli_product_build_dir , "wasi-vfs-cli.zip" )
6060 system "curl -L -o #{ zipfile } #{ self . cli_download_url } "
You can’t perform that action at this time.
0 commit comments