@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/microsoft.azure-devops/remote-link/index.js~
packages/ari/microsoft.azure-devops/remote-link/index.jsModified+6−1
Index: package/packages/ari/microsoft.azure-devops/remote-link/index.js
===================================================================
--- package/packages/ari/microsoft.azure-devops/remote-link/index.js
+++ package/packages/ari/microsoft.azure-devops/remote-link/index.js
@@ -284,22 +284,27 @@
var microsoftAzureDevopsRemoteLinkAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: MicrosoftAzureDevopsRemoteLinkAriResourceOwner,
resourceType: MicrosoftAzureDevopsRemoteLinkAriResourceType,
resourceIdSlug: "organization/{organization}/project/{projectId}/repository/{repositoryId}",
resourceIdSegmentFormats: {
organization: /[a-fA-F0-9]{64}/,
+ // 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/remote-link/index.ts
var MicrosoftAzureDevopsRemoteLinkAri = class _MicrosoftAzureDevopsRemoteLinkAri 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;
}