File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1130,7 +1130,7 @@ class BinaryControl {
1130
1130
* Generates logging file name and its path for Local Binary
1131
1131
*/
1132
1132
_generateLogFileMetadata() {
1133
- this.logFileName = process.env[BROWSERSTACK_LOCAL_LOGS_FILE] || `${LOCAL_LOG_FILE_PREFIX}_${github.context.job}_${new Date().toISOString ()}.log`;
1133
+ this.logFileName = process.env[BROWSERSTACK_LOCAL_LOGS_FILE] || `${LOCAL_LOG_FILE_PREFIX}_${github.context.job}_${Date.now ()}.log`;
1134
1134
this.logFilePath = path.resolve(this.binaryFolder, this.logFileName);
1135
1135
core.exportVariable(BROWSERSTACK_LOCAL_LOGS_FILE, this.logFileName);
1136
1136
}
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ class BinaryControl {
65
65
* Generates logging file name and its path for Local Binary
66
66
*/
67
67
_generateLogFileMetadata ( ) {
68
- this . logFileName = process . env [ BROWSERSTACK_LOCAL_LOGS_FILE ] || `${ LOCAL_LOG_FILE_PREFIX } _${ github . context . job } _${ new Date ( ) . toISOString ( ) } .log` ;
68
+ this . logFileName = process . env [ BROWSERSTACK_LOCAL_LOGS_FILE ] || `${ LOCAL_LOG_FILE_PREFIX } _${ github . context . job } _${ Date . now ( ) } .log` ;
69
69
this . logFilePath = path . resolve ( this . binaryFolder , this . logFileName ) ;
70
70
core . exportVariable ( BROWSERSTACK_LOCAL_LOGS_FILE , this . logFileName ) ;
71
71
}
You can’t perform that action at this time.
0 commit comments