Skip to content

Commit

Permalink
refactor(backend): link isolated-vm from global install
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledmashaly committed Jan 23, 2024
1 parent ec9cd31 commit d002692
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/backend/src/app/workers/engine/engine-installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,10 @@ export const engineInstaller = {
}

const installDependencies = async (path: string): Promise<void> => {
await packageManager.add({
await packageManager.link({
path,
dependencies: [
{
alias: 'isolated-vm',
spec: '4.6.0',
},
],
global: true,
packageName: 'isolated-vm',
})
}

Expand Down

0 comments on commit d002692

Please sign in to comment.