diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-11-16 19:59:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-16 19:59:26 +0100 |
commit | bd159b8bad34acefbd6e222781f3d7c6319c9bef (patch) | |
tree | 98c23a6c23ff57174bfd663b733815c11a4f9f2e /cli/lsp/path_to_regex.rs | |
parent | 40a72f35550ad2fd995b1d176540cc4fa0858370 (diff) |
fix(lock): ensure npm dependencies are written with --lock-write (#16668)
If "--lock-write" flag was present we never passed instance of the lockfile to
the npm resolver, which made it skip adding discovered npm packages to
the lockfile. This commit fixes that, by always passing lockfile to the npm
resolver and only regenerating resolver snapshot is "--lock-write" is not
present.
Closes https://github.com/denoland/deno/issues/16666
Diffstat (limited to 'cli/lsp/path_to_regex.rs')
0 files changed, 0 insertions, 0 deletions