From 350d3c1584f18f9c1bfec784229d47e95b353317 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Sun, 12 May 2024 21:00:26 -0700 Subject: [PATCH] Update npm.js --- lib/npm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/npm.js b/lib/npm.js index f0a133d27a6aa..28acdbbdd6fd7 100644 --- a/lib/npm.js +++ b/lib/npm.js @@ -317,7 +317,7 @@ class Npm { }) const { writeFileSync } = require('node:fs') - for (const [file, content] of error.files) { + for (const [file, content] of files) { const filePath = `${this.logPath}${file}` const fileContent = `'Log files:\n${this.logFiles.join('\n')}\n\n${content.trim()}\n` try {