Skip to content

Commit

Permalink
Fix generating periodic runs when only nightwatch or only codecept is…
Browse files Browse the repository at this point in the history
… used
  • Loading branch information
Nitive committed Nov 23, 2021
1 parent 9a8f043 commit 4ba2f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tools/src/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ function createWorkflow(workflowPath, content) {
}

function getGitHubSecretEnv(browsers) {
return Object.entries(browsers)
return Object.entries(browsers || {})
.filter(
([_, browserConfig]) => browserConfig.type === 'selenium' && browserConfig.seleniumBasicAuth
)
Expand Down

0 comments on commit 4ba2f32

Please sign in to comment.