From 6835fc76fff2a78e2b98697b432f89ce5906cb2b Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Mon, 13 Jun 2022 15:09:36 -0500 Subject: [PATCH] Fix move error --- index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.js b/index.js index 50c5d18..c56199e 100644 --- a/index.js +++ b/index.js @@ -89,9 +89,7 @@ async function install_nextflow(url, version) { const temp_install_dir = fs.mkdtempSync(`nxf-${version}`); - const nf_path = await io.mv(nf_path, `${temp_install_dir}/nextflow`, { - force: true, - }); + const nf_path = await io.mv(nf_dl_path, `${temp_install_dir}/nextflow`); fs.chmod(nf_path, "+x"); return temp_install_dir;