@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/opsgenie/escalation/index.js~
packages/ari/opsgenie/escalation/index.jsModified+1−4
Index: package/packages/ari/opsgenie/escalation/index.js
===================================================================
--- package/packages/ari/opsgenie/escalation/index.js
+++ package/packages/ari/opsgenie/escalation/index.js
@@ -284,25 +284,22 @@
var opsgenieEscalationAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: OpsgenieEscalationAriResourceOwner,
resourceType: OpsgenieEscalationAriResourceType,
resourceIdSlug: "{workspaceId}/{escalationId}",
resourceIdSegmentFormats: {
workspaceId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
escalationId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/opsgenie/escalation/index.ts
var OpsgenieEscalationAri = class _OpsgenieEscalationAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._escalationId = opts.resourceIdSegmentValues.escalationId;
+ super(opts), this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._escalationId = opts.resourceIdSegmentValues.escalationId;
}
get workspaceId() {
return this._workspaceId;
}