@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/github.github/comment/index.js~
packages/ari/github.github/comment/index.jsModified+1−6
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,27 +284,22 @@
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;
}