Skip to content

Commit

Permalink
fix: buildifier visibilty warning on generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed Jun 3, 2022
1 parent 00b890b commit f7abdbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion npm/private/translate_pnpm_lock.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@ def _impl(rctx):

link_packages = [_link_package(root_package, import_path) for import_path in importer_paths]

defs_bzl_header = generated_by_lines + ["""load("@aspect_rules_js//npm/private:linked_npm_packages.bzl", "linked_npm_packages")"""]
defs_bzl_header = generated_by_lines + ["""# buildifier: disable=bzl-visibility
load("@aspect_rules_js//npm/private:linked_npm_packages.bzl", "linked_npm_packages")"""]

npm_imports = _gen_npm_imports(lockfile, rctx.attr)

Expand Down

0 comments on commit f7abdbe

Please sign in to comment.