We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0acba01 + cd350ff commit b28ceecCopy full SHA for b28ceec
src/index.ts
@@ -237,7 +237,12 @@ async function transferDescription() {
237
238
let project = await gitlabApi.Projects.show(settings.gitlab.projectId);
239
240
- await githubHelper.updateRepositoryDescription(project.description);
+ if (project.description) {
241
+ await githubHelper.updateRepositoryDescription(project.description);
242
+ console.log('Done.');
243
+ } else {
244
+ console.log('Description is empty, nothing to transfer.')
245
+ }
246
}
247
248
// ----------------------------------------------------------------------------
0 commit comments