Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 committed Jul 4, 2024
2 parents f30c8c4 + e741f10 commit 2529e55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function extractZip(zipPath: string, dir: string): Promise<void> {
}

export function deleteFile(path: string): Promise<void> {
return fs.unlink(path);
return fs.remove(path);
}

const INSTALL_DIR = "/tmp";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ export type ExtensionWorkspace = {
};

export const getExtensionsFromFilesystem = (): ExtensionWorkspace[] => {
const workspaces = glob.sync(`extensions/**/package.json`);
const workspaces = glob.sync(`extensions/**/package.json`, {
ignore: ["**/node_modules/**"]
});
return workspaces
.map(pkg => ({
path: path.dirname(pkg),
Expand Down

0 comments on commit 2529e55

Please sign in to comment.