Skip to content

Commit

Permalink
fix: include package store directory in default output of npm_link_pa…
Browse files Browse the repository at this point in the history
…ckage_store
  • Loading branch information
gregmagolan committed May 28, 2024
1 parent 31118a6 commit 50dfb58
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions examples/genrule/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ genrule(
":one.js",
# reference the location where the "acorn" npm package was linked in our root Bazel package.
"//:node_modules/acorn",
"//:node_modules/acorn/dir",
],
outs = ["out1"],
cmd = " ".join([
Expand Down Expand Up @@ -69,7 +68,6 @@ genrule(
":require_acorn_js",
# reference the location where the "acorn" npm package was linked in our root Bazel package.
"//:node_modules/acorn",
"//:node_modules/acorn/dir",
],
outs = ["out2"],
cmd = """
Expand Down
2 changes: 1 addition & 1 deletion npm/private/npm_link_package_store.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def _npm_link_package_store_impl(ctx):
)
files.append(bin_file)

files_depset = depset(files)
files_depset = depset(files, transitive = [store_info.files])

transitive_files_depset = depset(files, transitive = [store_info.transitive_files])

Expand Down

0 comments on commit 50dfb58

Please sign in to comment.