@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/github.github/build/index.js~
packages/ari/github.github/build/index.jsModified+5−1
Index: package/packages/ari/github.github/build/index.js
===================================================================
--- package/packages/ari/github.github/build/index.js
+++ package/packages/ari/github.github/build/index.js
@@ -284,21 +284,25 @@
var githubGithubBuildAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GithubGithubBuildAriResourceOwner,
resourceType: GithubGithubBuildAriResourceType,
resourceIdSlug: "pipelineId/{pipelineId}/buildId/{buildId}",
resourceIdSegmentFormats: {
pipelineId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
+ // eslint-disable-line no-useless-escape
buildId: /[0-9]+/
+ // eslint-disable-line no-useless-escape
}
};
// src/github.github/build/index.ts
var GithubGithubBuildAri = class _GithubGithubBuildAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._pipelineId = opts.resourceIdSegmentValues.pipelineId, this._buildId = opts.resourceIdSegmentValues.buildId;
+ super(opts);
+ this._pipelineId = opts.resourceIdSegmentValues.pipelineId, this._buildId = opts.resourceIdSegmentValues.buildId;
}
get pipelineId() {
return this._pipelineId;
}