Skip to content

Commit

Permalink
chore: renamed variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanlah authored and cawa-93 committed Dec 19, 2024
1 parent 6278633 commit efcebcf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions electron-builder.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async function getListOfFilesFromEachWorkspace() {
pkg,
});

const allFilesToExclude = [];
const allFilesToInclude = [];

for (const [name, path] of workspaces) {
const pkgPath = join(path, 'package.json');
Expand All @@ -103,8 +103,8 @@ async function getListOfFilesFromEachWorkspace() {
let patterns = workspacePkg.files || ['dist/**', 'package.json'];

patterns = patterns.map(p => join('node_modules', name, p));
allFilesToExclude.push(...patterns);
allFilesToInclude.push(...patterns);
}

return allFilesToExclude;
return allFilesToInclude;
}

0 comments on commit efcebcf

Please sign in to comment.