Skip to content

Commit

Permalink
handling all group
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Mar 27, 2024
1 parent 3059057 commit 57f9963
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/supersetbot/src/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,12 @@ class Github {
let deps = parsedData.project.dependencies;
if (group) {
console.log(`Processing group: ${group}`);
deps = parsedData.project['optional-dependencies'][group];
const optDeps = parsedData.project['optional-dependencies'];
if (group === 'all') {
deps = Object.keys(optDeps).flatMap((k) => optDeps[k]);
} else {
deps = optDeps[group];
}
}
if (shuffle) {
deps = shuffleArray(deps);
Expand Down

0 comments on commit 57f9963

Please sign in to comment.