Skip to content

Commit 350d3c1

Browse files
authored
Update npm.js
1 parent ee81987 commit 350d3c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/npm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ class Npm {
317317
})
318318

319319
const { writeFileSync } = require('node:fs')
320-
for (const [file, content] of error.files) {
320+
for (const [file, content] of files) {
321321
const filePath = `${this.logPath}${file}`
322322
const fileContent = `'Log files:\n${this.logFiles.join('\n')}\n\n${content.trim()}\n`
323323
try {

0 commit comments

Comments
 (0)