Skip to content

Commit

Permalink
minor update to logging
Browse files Browse the repository at this point in the history
  • Loading branch information
shanep committed Oct 2, 2023
1 parent fea1dcd commit 43609fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ghclass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ export async function cloneAll(org: string, project: string, roster: string) : P
console.log(err);
}));
} else {
console.log(`student: ${s.email || s.githubUserName} has not accepted the assignment`);
var name = s.email?.trim() !== '' ? s.email : s.githubUserName;
console.log(`student: ${name} has not accepted the assignment`);
}
});

Expand Down

0 comments on commit 43609fa

Please sign in to comment.