@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/github.github/repository/index.js~
packages/ari/github.github/repository/index.jsModified+1−4
Index: package/packages/ari/github.github/repository/index.js
===================================================================
--- package/packages/ari/github.github/repository/index.js
+++ package/packages/ari/github.github/repository/index.js
@@ -284,23 +284,20 @@
var githubGithubRepositoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: GithubGithubRepositoryAriResourceOwner,
resourceType: GithubGithubRepositoryAriResourceType,
resourceIdSlug: "{repositoryId}",
resourceIdSegmentFormats: {
repositoryId: /[0-9]+/
- // eslint-disable-line no-useless-escape
}
};
// src/github.github/repository/index.ts
var GithubGithubRepositoryAri = class _GithubGithubRepositoryAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._repositoryId = opts.resourceIdSegmentValues.repositoryId;
+ super(opts), this._repositoryId = opts.resourceIdSegmentValues.repositoryId;
}
get repositoryId() {
return this._repositoryId;
}