@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/github.github/comment/index.js~
packages/ari/github.github/comment/index.jsModified+6−1
Index: package/packages/ari/github.github/comment/index.js
===================================================================
--- package/packages/ari/github.github/comment/index.js
+++ package/packages/ari/github.github/comment/index.js
@@ -284,22 +284,27 @@
var githubGithubCommentAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GithubGithubCommentAriResourceOwner,
resourceType: GithubGithubCommentAriResourceType,
resourceIdSlug: "repositoryId/{repositoryId}/pullRequestId/{pullRequestId}/comment/{commentId}",
resourceIdSegmentFormats: {
repositoryId: /[0-9]+/,
+ // eslint-disable-line no-useless-escape
pullRequestId: /[0-9]+/,
+ // eslint-disable-line no-useless-escape
commentId: /[0-9]+/
+ // eslint-disable-line no-useless-escape
}
};
// src/github.github/comment/index.ts
var GithubGithubCommentAri = class _GithubGithubCommentAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._repositoryId = opts.resourceIdSegmentValues.repositoryId, this._pullRequestId = opts.resourceIdSegmentValues.pullRequestId, this._commentId = opts.resourceIdSegmentValues.commentId;
+ super(opts);
+ this._repositoryId = opts.resourceIdSegmentValues.repositoryId, this._pullRequestId = opts.resourceIdSegmentValues.pullRequestId, this._commentId = opts.resourceIdSegmentValues.commentId;
}
get repositoryId() {
return this._repositoryId;
}