@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/microsoft.azure-devops/repository/index.js~
packages/ari/microsoft.azure-devops/repository/index.jsModified+1−5
Index: package/packages/ari/microsoft.azure-devops/repository/index.js
===================================================================
--- package/packages/ari/microsoft.azure-devops/repository/index.js
+++ package/packages/ari/microsoft.azure-devops/repository/index.js
@@ -284,27 +284,23 @@
var microsoftAzureDevopsRepositoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: MicrosoftAzureDevopsRepositoryAriResourceOwner,
resourceType: MicrosoftAzureDevopsRepositoryAriResourceType,
resourceIdSlug: "organization/{organization}/project/{projectId}/repository/{repositoryId}",
resourceIdSegmentFormats: {
organization: /[A-Za-z0-9](?:[A-Za-z0-9\-]{0,48}[A-Za-z0-9])?/,
// eslint-disable-line no-useless-escape
projectId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/,
- // eslint-disable-line no-useless-escape
repositoryId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/
- // eslint-disable-line no-useless-escape
}
};
// src/microsoft.azure-devops/repository/index.ts
var MicrosoftAzureDevopsRepositoryAri = class _MicrosoftAzureDevopsRepositoryAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._organization = opts.resourceIdSegmentValues.organization, this._projectId = opts.resourceIdSegmentValues.projectId, this._repositoryId = opts.resourceIdSegmentValues.repositoryId;
+ super(opts), this._organization = opts.resourceIdSegmentValues.organization, this._projectId = opts.resourceIdSegmentValues.projectId, this._repositoryId = opts.resourceIdSegmentValues.repositoryId;
}
get organization() {
return this._organization;
}