From fbeabad0d2ef7770bc19097bb0cfb1a4c4faf5f9 Mon Sep 17 00:00:00 2001 From: Mizzajl Date: Sat, 5 Oct 2024 20:29:52 +0200 Subject: [PATCH] mizzajl- ignore some txt files --- .gitignore | 4 +++- local/path/home/upgrade.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a4af0ca..e3b4457 100644 --- a/.gitignore +++ b/.gitignore @@ -138,4 +138,6 @@ mirror/ build/ .vscode/* -!.vscode/launch.json \ No newline at end of file +!.vscode/launch.json +local/path/home/bestTarget.txt +local/path/home/serverList.txt diff --git a/local/path/home/upgrade.js b/local/path/home/upgrade.js index 283be81..51c8256 100644 --- a/local/path/home/upgrade.js +++ b/local/path/home/upgrade.js @@ -24,7 +24,7 @@ export async function main(ns) { while (bAutoUpgrade && nCurrentRAM < 2 ** 20) { //for (let i = 0; i < npServ.length; i++) { - for (let i = 0; i < npServ.length && bAutoUpgrade; i++) { + for (let i = 0; i < 1 && bAutoUpgrade; i++) { ns.print("----------------------------------------------------------------------"); nMyMoney = ns.getServerMoneyAvailable("home");