Skip to content

Commit 0acba01

Browse files
authored
Merge pull request piceaTech#171 from inkbird-io/patch-1
allow for gitlab projects with no description
2 parents 1111953 + 1b204f8 commit 0acba01

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)