diff --git a/docs/api/cautious-journey.flaglabel.md b/docs/api/cautious-journey.flaglabel.md index 4b8792c..f7239e6 100644 --- a/docs/api/cautious-journey.flaglabel.md +++ b/docs/api/cautious-journey.flaglabel.md @@ -9,5 +9,5 @@ Individual labels: the equivalent of a checkbox. Signature: ```typescript -export declare type FlagLabel = BaseLabel; +export type FlagLabel = BaseLabel; ``` diff --git a/docs/api/cautious-journey.githubremote.md b/docs/api/cautious-journey.githubremote.md index 50a891b..c3c0c10 100644 --- a/docs/api/cautious-journey.githubremote.md +++ b/docs/api/cautious-journey.githubremote.md @@ -11,7 +11,7 @@ Github/Octokit API implementation of the `Remote` contract. ```typescript export declare class GithubRemote extends BaseRemote implements Remote ``` -Extends: BaseRemote<Octokit, [RemoteOptions](./cautious-journey.remoteoptions.md)> +Extends: BaseRemote<Octokit, [RemoteOptions](./cautious-journey.remoteoptions.md) Implements: [Remote](./cautious-journey.remote.md) diff --git a/docs/api/cautious-journey.gitlabremote.md b/docs/api/cautious-journey.gitlabremote.md index dfbcf0f..633cf3e 100644 --- a/docs/api/cautious-journey.gitlabremote.md +++ b/docs/api/cautious-journey.gitlabremote.md @@ -11,7 +11,7 @@ Gitlab API implementation of the `Remote` contract. ```typescript export declare class GitlabRemote extends BaseRemote implements Remote ``` -Extends: BaseRemote<GitlabType, [RemoteOptions](./cautious-journey.remoteoptions.md)> +Extends: BaseRemote<GitlabType, [RemoteOptions](./cautious-journey.remoteoptions.md) Implements: [Remote](./cautious-journey.remote.md) diff --git a/src/remote/github.ts b/src/remote/github.ts index 52e53e5..52751c4 100644 --- a/src/remote/github.ts +++ b/src/remote/github.ts @@ -1,4 +1,4 @@ -import { doesExist, InvalidArgumentError, mustCoalesce, mustExist } from '@apextoaster/js-utils'; +import { doesExist, InvalidArgumentError, mustDefault, mustExist } from '@apextoaster/js-utils'; import { createAppAuth } from '@octokit/auth-app'; import { Octokit } from '@octokit/rest'; @@ -145,7 +145,7 @@ export class GithubRemote extends BaseRemote implements for (const label of repo.data) { labels.push({ color: label.color, - desc: mustCoalesce(label.description, ''), + desc: mustDefault(label.description, ''), name: label.name, project: options.project, }); @@ -186,7 +186,7 @@ export class GithubRemote extends BaseRemote implements return { color: data.data.color, - desc: mustCoalesce(data.data.description, ''), + desc: mustDefault(data.data.description, ''), name: data.data.name, project: options.project, };