fix: tests

This commit is contained in:
Eric
2026-03-04 08:57:26 +01:00
parent dfed3d0b53
commit 310d504026
4 changed files with 8 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ stderr:
)
_bun_install_repository = repository_rule(
bun_install_repository = repository_rule(
implementation = _bun_install_repository_impl,
attrs = {
"package_json": attr.label(mandatory = True, allow_single_file = True),
@@ -74,6 +74,8 @@ _bun_install_repository = repository_rule(
},
)
_bun_install_repository = bun_install_repository
def bun_install(name, package_json, bun_lockfile):
"""Create an external repository containing installed node_modules.
@@ -91,7 +93,7 @@ def bun_install(name, package_json, bun_lockfile):
)
"""
_bun_install_repository(
bun_install_repository(
name = name,
package_json = package_json,
bun_lockfile = bun_lockfile,