Commit 042c2a91 authored by Martin Lowe's avatar Martin Lowe 🇨🇦
Browse files

Merge branch 'malowe/master/215' into 'master'

Iss. #215 - Add additional ctx when removing user

See merge request !216
parents c5c09668 6bd468a1
Pipeline #5700 passed with stage
in 0 seconds
......@@ -401,7 +401,8 @@ export class GitlabSyncRunner {
this.logger.debug(`Dryrun flag active, would have removed user '${member.username}' from project '${project.name}'(${project.id})`);
continue;
}
this.logger.info(`Removing user '${member.username}' from project '${project.name}'(${project.id})`);
this.logger.info(`Removing user '${member.username}' with permissions '${member.access_level}' from project `
+ `'${project.name}'(${project.id})`);
try {
await this.api.ProjectMembers.remove(project.id, member.id);
} catch (err) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment