Skip to content

Commit e4dd024

Browse files
authored
Merge pull request #5549 from continuedev/nate/remove-log
Nate/remove-log
2 parents ff7cfa0 + f60fd1c commit e4dd024

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
"conventionalCommits.showNewVersionNotes": false,
5151
"conventionalCommits.promptBody": false,
5252
"conventionalCommits.promptFooter": false,
53-
"conventionalCommits.promptScopes": false,
54-
"conventionalCommits.scopes": []
53+
"conventionalCommits.promptScopes": true,
54+
"conventionalCommits.scopes": ["reg"]
5555
}

core/util/logger.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ export const logger = winston.createLogger({
77
format: winston.format.json(),
88
transports: [
99
// Write all logs with importance level of `info` or higher to `info.log`
10-
new winston.transports.File({ filename: "e2e.log", level: "info" }),
10+
...(process.env.NODE_ENV === "test"
11+
? [new winston.transports.File({ filename: "e2e.log", level: "info" })]
12+
: []),
1113
// Normal console.log behavior
1214
new winston.transports.Console(),
1315
],

0 commit comments

Comments
 (0)