fix: tests
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user