mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-12-28 18:22:08 -05:00
Fix type errors in nextflow installer
This commit is contained in:
parent
6835fc76ff
commit
4994858c8d
1 changed files with 2 additions and 1 deletions
3
index.js
3
index.js
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue