Skip to content

Commit

Permalink
formatting, var name
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerfehr committed Oct 10, 2022
1 parent 937f663 commit 1da4def
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/create-outputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ getPackages((packages) => {
return acc;
},
{},
)
);

const graph = packages.flatMap((pkg) => getAllDependencies(pkg).reduce(
// if the dependency is inside our list of repositories, we want to add it
Expand Down
8 changes: 4 additions & 4 deletions src/get-packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ const getPackages = (callback) => {
const getBlacklist = () => {
try {
return readFileSync(path.resolve(__dirname, `${REPO_PATH}/exclusions.txt`))
.toString()
.split('\n')
.reduce((acc, curr) => !!curr ? [...acc, curr.trim()] : acc, []);
.toString()
.split('\n')
.reduce((acc, curr) => !!curr ? [...acc, curr.trim()] : acc, []);
}
catch (err) {
catch (_) {
return '';
}
};
Expand Down

0 comments on commit 1da4def

Please sign in to comment.