From 584077fe033121ad882ad229ace2a998aeab9ed8 Mon Sep 17 00:00:00 2001 From: ztimson Date: Mon, 2 May 2022 12:21:56 -0400 Subject: [PATCH] Fixed bug with copy --- scripts/copy.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/copy.js b/scripts/copy.js index 1d7de5e..aba30cb 100644 --- a/scripts/copy.js +++ b/scripts/copy.js @@ -64,7 +64,8 @@ export async function main(ns) { await ns.scp(args['file'], args['server']); if(!args['quite']) await progressBar(ns, args['file']); } else { - const files = copyWithDependencies(ns, args['file'], args['server']); + const files = await copyWithDependencies(ns, args['file'], args['server']); + console.log(files); if(!args['quite']) { for(let file of files) { await progressBar(ns, file);