Skip to content

Commit 1b204f8

Browse files
authored
allow for gitlab projects with no description
1 parent 7e056e2 commit 1b204f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/githubHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ export class GithubHelper {
321321
let props: RestEndpointMethodTypes['repos']['update']['parameters'] = {
322322
owner: this.githubOwner,
323323
repo: this.githubRepo,
324-
description: description.replace(/\s+/g, ' '),
324+
description: description?.replace(/\s+/g, ' ') || '',
325325
};
326326
return this.githubApi.repos.update(props);
327327
}

0 commit comments

Comments
 (0)