File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 50
50
"conventionalCommits.showNewVersionNotes" : false ,
51
51
"conventionalCommits.promptBody" : false ,
52
52
"conventionalCommits.promptFooter" : false ,
53
- "conventionalCommits.promptScopes" : false ,
54
- "conventionalCommits.scopes" : []
53
+ "conventionalCommits.promptScopes" : true ,
54
+ "conventionalCommits.scopes" : [" reg " ]
55
55
}
Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ export const logger = winston.createLogger({
7
7
format : winston . format . json ( ) ,
8
8
transports : [
9
9
// 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
+ : [ ] ) ,
11
13
// Normal console.log behavior
12
14
new winston . transports . Console ( ) ,
13
15
] ,
You can’t perform that action at this time.
0 commit comments