@firestartr/cli 1.50.1-snapshot-30 → 1.50.1-snapshot-32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/index.js +4 -2
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -310291,10 +310291,12 @@ class RepoGithubDecanter extends GithubDecanter {
310291
310291
  return `collaborator:${member.name}`;
310292
310292
  });
310293
310293
  const teamWriters = this.data.teamsAndMembers.teams
310294
- .filter((team) => team.role in ['push', 'write'])
310294
+ .filter((team) => ['push', 'write'].includes(team.role))
310295
310295
  .map((team) => {
310296
310296
  return `group:${team.name}`;
310297
310297
  });
310298
+ console.log("--- 🚀 Team writers:");
310299
+ console.dir(teamWriters, { depth: null });
310298
310300
  const writers = directWriters.concat(outsideWriters).concat(teamWriters);
310299
310301
  if (writers && writers.length > 0) {
310300
310302
  overrides['additionalWriters'] = writers;
@@ -310316,7 +310318,7 @@ class RepoGithubDecanter extends GithubDecanter {
310316
310318
  return `collaborator:${member.name}`;
310317
310319
  });
310318
310320
  const teamReaders = this.data.teamsAndMembers.teams
310319
- .filter((team) => team.role in ['pull', 'read'])
310321
+ .filter((team) => ['pull', 'read'].includes(team.role))
310320
310322
  .map((team) => {
310321
310323
  return `group:${team.name}`;
310322
310324
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "1.50.1-snapshot-30",
3
+ "version": "1.50.1-snapshot-32",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",