mizzajl- ignore some txt files

This commit is contained in:
2024-10-05 20:29:52 +02:00
parent b08f725d6b
commit fbeabad0d2
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@@ -139,3 +139,5 @@ build/
.vscode/*
!.vscode/launch.json
local/path/home/bestTarget.txt
local/path/home/serverList.txt

View File

@@ -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");