@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/github.github/pull-request/index.js~
packages/ari/github.github/pull-request/index.jsModified+5−1
Index: package/packages/ari/github.github/pull-request/index.js
===================================================================
--- package/packages/ari/github.github/pull-request/index.js
+++ package/packages/ari/github.github/pull-request/index.js
@@ -284,21 +284,25 @@
var githubGithubPullRequestAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GithubGithubPullRequestAriResourceOwner,
resourceType: GithubGithubPullRequestAriResourceType,
resourceIdSlug: "repositoryId/{repositoryId}/pullRequestId/{pullRequestId}",
resourceIdSegmentFormats: {
repositoryId: /[0-9]+/,
+ // eslint-disable-line no-useless-escape
pullRequestId: /[0-9]+/
+ // eslint-disable-line no-useless-escape
}
};
// src/github.github/pull-request/index.ts
var GithubGithubPullRequestAri = class _GithubGithubPullRequestAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._repositoryId = opts.resourceIdSegmentValues.repositoryId, this._pullRequestId = opts.resourceIdSegmentValues.pullRequestId;
+ super(opts);
+ this._repositoryId = opts.resourceIdSegmentValues.repositoryId, this._pullRequestId = opts.resourceIdSegmentValues.pullRequestId;
}
get repositoryId() {
return this._repositoryId;
}