Skip to content

Commit

Permalink
fix npm overwriting entire lib on every new install
Browse files Browse the repository at this point in the history
  • Loading branch information
pirate committed Sep 25, 2024
1 parent a7a3bc4 commit 8c3bdd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydantic_pkgr/binprovider_npm.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class NpmProvider(BinProvider):
PATH: PATHStr = ''

npm_prefix: Optional[Path] = None # None = -g global, otherwise it's a path
npm_install_args: List[str] = ['--force', '--no-save', '--no-audit', '--no-fund', '--loglevel=error']
npm_install_args: List[str] = ['--force', '--no-audit', '--no-fund', '--loglevel=error']

@model_validator(mode='after')
def load_PATH_from_npm_prefix(self):
Expand Down

0 comments on commit 8c3bdd7

Please sign in to comment.