ripe-tech / ripe-sdk

The public Javascript SDK for RIPE Core
https://www.platforme.com
Apache License 2.0
8 stars 4 forks source link

#429 Add `hasStrategy` method #407

Closed NFSS10 closed 2 years ago

NFSS10 commented 2 years ago
- -
Issue https://github.com/ripe-tech/ripe-sdk/issues/429
Dependencies --
Decisions Add the method hasStrategy which checks if a build has a specific strategy. It does that by checking the config strategies array values for a match. If a build doesn't have strategies variable it will check against "prc" as it's our default strategy