repository-provider 35.0.2 → 35.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/owned-object.mjs +1 -1
- package/src/pull-request.mjs +2 -1
package/package.json
CHANGED
package/src/owned-object.mjs
CHANGED
|
@@ -179,7 +179,7 @@ export class OwnedObject extends NamedObject {
|
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
181
|
* By default we use the owners implementation.
|
|
182
|
-
* @return {
|
|
182
|
+
* @return {typeof Repository} as defined in the owner
|
|
183
183
|
*/
|
|
184
184
|
get repositoryClass() {
|
|
185
185
|
return this.owner.repositoryClass;
|
package/src/pull-request.mjs
CHANGED
|
@@ -138,7 +138,6 @@ export class PullRequest extends OwnedObject {
|
|
|
138
138
|
let state = "OPEN";
|
|
139
139
|
|
|
140
140
|
super(owner, name, options, {
|
|
141
|
-
source: { value: source },
|
|
142
141
|
state: {
|
|
143
142
|
set(value) {
|
|
144
143
|
value = value.toUpperCase();
|
|
@@ -161,6 +160,8 @@ export class PullRequest extends OwnedObject {
|
|
|
161
160
|
}
|
|
162
161
|
}
|
|
163
162
|
});
|
|
163
|
+
|
|
164
|
+
this.source = source;
|
|
164
165
|
}
|
|
165
166
|
|
|
166
167
|
get destination() {
|