diff --git a/src/attributes.mjs b/src/attributes.mjs index 20a3d04b..36c5c4e1 100644 --- a/src/attributes.mjs +++ b/src/attributes.mjs @@ -46,7 +46,7 @@ export const uuid_attribute = { /** * @type {AttributeDefinition} */ -export const empty_attiribute = { ...default_attribute, type: "boolean" }; +export const empty_attribute = { ...default_attribute, type: "boolean" }; /** * @type {AttributeDefinition} diff --git a/src/pull-request.mjs b/src/pull-request.mjs index 81d9a5ac..1b5ec3b8 100644 --- a/src/pull-request.mjs +++ b/src/pull-request.mjs @@ -9,7 +9,7 @@ import { body_attribute, title_attribute, boolean_attribute, - empty_attiribute + empty_attribute } from "./attributes.mjs"; /** @@ -130,10 +130,12 @@ export class PullRequest extends OwnedObject { */ draft: boolean_attribute, dry: boolean_attribute, - empty: empty_attiribute + empty: empty_attribute }; } + /** @type {Branch} */ source; + constructor(source, owner, name, options) { let state = "OPEN";