Merge pull request #5549 from continuedev/nate/remove-log

Nate/remove-log
This commit is contained in:
Nate Sesti 2025-05-06 23:31:24 -07:00 • committed by GitHub
commit e4dd0241bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View file

@ -50,6 +50,6 @@
"conventionalCommits.showNewVersionNotes": false,
"conventionalCommits.promptBody": false,
"conventionalCommits.promptFooter": false,
"conventionalCommits.promptScopes": false,
"conventionalCommits.scopes": []
"conventionalCommits.promptScopes": true,
"conventionalCommits.scopes": ["reg"]
}

View file

@ -7,7 +7,9 @@ export const logger = winston.createLogger({
format: winston.format.json(),
transports: [
// Write all logs with importance level of `info` or higher to `info.log`
new winston.transports.File({ filename: "e2e.log", level: "info" }),
...(process.env.NODE_ENV === "test"
? [new winston.transports.File({ filename: "e2e.log", level: "info" })]
: []),
// Normal console.log behavior
new winston.transports.Console(),
],