@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/github.github/branch/index.js~
packages/ari/github.github/branch/index.jsModified+1−5
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,25 +284,21 @@
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;
}