There was an error while loading. Please reload this page.
1 parent 7e056e2 commit 1b204f8Copy full SHA for 1b204f8
src/githubHelper.ts
@@ -321,7 +321,7 @@ export class GithubHelper {
321
let props: RestEndpointMethodTypes['repos']['update']['parameters'] = {
322
owner: this.githubOwner,
323
repo: this.githubRepo,
324
- description: description.replace(/\s+/g, ' '),
+ description: description?.replace(/\s+/g, ' ') || '',
325
};
326
return this.githubApi.repos.update(props);
327
}
0 commit comments