Fix move error

This commit is contained in:
Thomas A. Christensen II 2022-06-13 15:09:36 -05:00
parent dcbcd9ccd4
commit 6835fc76ff
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -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;