mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-22 01:46:04 +00:00
Fix move error
This commit is contained in:
parent
dcbcd9ccd4
commit
6835fc76ff
1 changed files with 1 additions and 3 deletions
4
index.js
4
index.js
|
@ -89,9 +89,7 @@ async function install_nextflow(url, version) {
|
||||||
|
|
||||||
const temp_install_dir = fs.mkdtempSync(`nxf-${version}`);
|
const temp_install_dir = fs.mkdtempSync(`nxf-${version}`);
|
||||||
|
|
||||||
const nf_path = await io.mv(nf_path, `${temp_install_dir}/nextflow`, {
|
const nf_path = await io.mv(nf_dl_path, `${temp_install_dir}/nextflow`);
|
||||||
force: true,
|
|
||||||
});
|
|
||||||
fs.chmod(nf_path, "+x");
|
fs.chmod(nf_path, "+x");
|
||||||
|
|
||||||
return temp_install_dir;
|
return temp_install_dir;
|
||||||
|
|
Loading…
Reference in a new issue