mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-12-22 04:48:18 +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 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;
|
||||
|
|
Loading…
Reference in a new issue