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

4
.gitignore vendored
View File

@@ -138,4 +138,6 @@ mirror/
build/ build/
.vscode/* .vscode/*
!.vscode/launch.json !.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) { while (bAutoUpgrade && nCurrentRAM < 2 ** 20) {
//for (let i = 0; i < npServ.length; i++) { //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("----------------------------------------------------------------------"); ns.print("----------------------------------------------------------------------");
nMyMoney = ns.getServerMoneyAvailable("home"); nMyMoney = ns.getServerMoneyAvailable("home");