mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-22 15:12:27 -05:00
fix providers checks
This commit is contained in:
@@ -116,9 +116,6 @@ getCiConfig = ->
|
||||
|
||||
awaitEachProjectAndProvider = (projects, fn, filter = R.identity) ->
|
||||
creds = getCiConfig()
|
||||
la(check.unemptyString(creds.circleToken), "missing circleToken")
|
||||
la(check.unemptyString(creds.appVeyorToken), "missing appVeyorToken")
|
||||
la(check.unemptyString(creds.buildkiteToken), "missing buildkiteToken")
|
||||
|
||||
## configure a new Bumpercar
|
||||
providers = {}
|
||||
@@ -140,6 +137,7 @@ awaitEachProjectAndProvider = (projects, fn, filter = R.identity) ->
|
||||
}
|
||||
providerNames = Object.keys(providers)
|
||||
console.log("configured providers", providerNames)
|
||||
la(check.not.empty(providerNames), "empty list of providers")
|
||||
|
||||
car = bumpercar.create({providers})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user