How to use the taskcluster-lib-scopes.mergeScopeSets function in taskcluster-lib-scopes

To help you get started, we’ve selected a few taskcluster-lib-scopes examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github taskcluster / taskcluster / services / auth / src / scopesetbuilder.js View on Github external
static mergeScopeSets(A, B) {
    if (A.length === 0) {
      return B;
    }
    if (B.length === 0) {
      return A;
    }
    return mergeScopeSets(A, B);
  }
}