@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/github.github/branch/index.js~
packages/ari/github.github/branch/index.jsModified+5−1
Index: package/packages/ari/github.github/branch/index.js
===================================================================
--- package/packages/ari/github.github/branch/index.js
+++ package/packages/ari/github.github/branch/index.js
@@ -284,21 +284,25 @@
var githubGithubBranchAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GithubGithubBranchAriResourceOwner,
resourceType: GithubGithubBranchAriResourceType,
resourceIdSlug: "repositoryId/{repositoryId}/branchId/{branchId}",
resourceIdSegmentFormats: {
repositoryId: /[0-9]+/,
+ // eslint-disable-line no-useless-escape
branchId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
+ // eslint-disable-line no-useless-escape
}
};
// src/github.github/branch/index.ts
var GithubGithubBranchAri = class _GithubGithubBranchAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._repositoryId = opts.resourceIdSegmentValues.repositoryId, this._branchId = opts.resourceIdSegmentValues.branchId;
+ super(opts);
+ this._repositoryId = opts.resourceIdSegmentValues.repositoryId, this._branchId = opts.resourceIdSegmentValues.branchId;
}
get repositoryId() {
return this._repositoryId;
}