Fix type errors in nextflow installer

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

View file

@ -88,8 +88,9 @@ async function install_nextflow(url, version) {
);
const temp_install_dir = fs.mkdtempSync(`nxf-${version}`);
const nf_path = `${temp_install_dir}/nextflow`;
const nf_path = await io.mv(nf_dl_path, `${temp_install_dir}/nextflow`);
io.mv(nf_dl_path, nf_path);
fs.chmod(nf_path, "+x");
return temp_install_dir;