Skip to content

Commit

Permalink
Update npm.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys authored May 13, 2024
1 parent ee81987 commit 350d3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 350d3c1

Please sign in to comment.