Skip to content

Commit

Permalink
Use our own fs instead of Node's fs in the Npm package installer (#7103)
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic committed Oct 16, 2021
1 parent 85b76e8 commit 4a62581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/package-manager/src/Npm.js
Expand Up @@ -2,7 +2,6 @@

import type {PackageInstaller, InstallerOptions} from './types';

import fs from 'fs';
import path from 'path';
import spawn from 'cross-spawn';
import logger from '@parcel/logger';
Expand All @@ -19,6 +18,7 @@ export class Npm implements PackageInstaller {
async install({
modules,
cwd,
fs,
packagePath,
saveDev = true,
}: InstallerOptions): Promise<void> {
Expand Down

0 comments on commit 4a62581

Please sign in to comment.