Skip to content

Commit 138b732

Browse files
committed
fix: artifact name
1 parent 3e8f2b4 commit 138b732

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup-local/dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,7 @@ class BinaryControl {
11301130
* Generates logging file name and its path for Local Binary
11311131
*/
11321132
_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`;
11341134
this.logFilePath = path.resolve(this.binaryFolder, this.logFileName);
11351135
core.exportVariable(BROWSERSTACK_LOCAL_LOGS_FILE, this.logFileName);
11361136
}

setup-local/src/binaryControl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class BinaryControl {
6565
* Generates logging file name and its path for Local Binary
6666
*/
6767
_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`;
6969
this.logFilePath = path.resolve(this.binaryFolder, this.logFileName);
7070
core.exportVariable(BROWSERSTACK_LOCAL_LOGS_FILE, this.logFileName);
7171
}

0 commit comments

Comments
 (0)