@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/github.github/commit/index.js~
packages/ari/github.github/commit/index.jsModified+1−5
Index: package/packages/ari/github.github/commit/index.js
===================================================================
--- package/packages/ari/github.github/commit/index.js
+++ package/packages/ari/github.github/commit/index.js
@@ -284,25 +284,21 @@
var githubGithubCommitAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: GithubGithubCommitAriResourceOwner,
resourceType: GithubGithubCommitAriResourceType,
resourceIdSlug: "repositoryId/{repositoryId}/commitId/{commitId}",
resourceIdSegmentFormats: {
repositoryId: /[0-9]+/,
- // eslint-disable-line no-useless-escape
commitId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/github.github/commit/index.ts
var GithubGithubCommitAri = class _GithubGithubCommitAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._repositoryId = opts.resourceIdSegmentValues.repositoryId, this._commitId = opts.resourceIdSegmentValues.commitId;
+ super(opts), this._repositoryId = opts.resourceIdSegmentValues.repositoryId, this._commitId = opts.resourceIdSegmentValues.commitId;
}
get repositoryId() {
return this._repositoryId;
}