Skip to content

Commit

Permalink
fix: declare source as normal property
Browse files Browse the repository at this point in the history
  • Loading branch information
arlac77 committed Feb 2, 2024
1 parent 745c53f commit e9800da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pull-request.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ export class PullRequest extends OwnedObject {
let state = "OPEN";

super(owner, name, options, {
source: { value: source },
state: {
set(value) {
value = value.toUpperCase();
Expand All @@ -161,6 +160,8 @@ export class PullRequest extends OwnedObject {
}
}
});

this.source = source;
}

get destination() {
Expand Down

0 comments on commit e9800da

Please sign in to comment.