Skip to content

Commit 44e7034

Browse files
committed
adding limits in timeout
1 parent 169960b commit 44e7034

File tree

1 file changed

+3
-3
lines changed
  • browserstack-report-action/src

1 file changed

+3
-3
lines changed

browserstack-report-action/src/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ async function run() {
1616

1717
let reportProcessor;
1818

19-
if(userTimeout < 20 || userTimeout > 600) {
19+
if (userTimeout < 20 || userTimeout > 600) {
2020
const report = {
2121
report: {
2222
basicHtml: `<pre>Invalid user timeout value: ${userTimeout}. It should be between 20 and 600 seconds for Browserstack reports</pre>`,
2323
},
24-
}
24+
};
2525
reportProcessor = new ReportProcessor(report);
26-
return ;
26+
return;
2727
}
2828

2929
const authHeader = `Basic ${Buffer.from(`${username}:${accessKey}`).toString('base64')}`;

0 commit comments

Comments
 (0)