Skip to content

Commit 9138c4f

Browse files
committed
chore: Mark nodejs_repositories repo rule as reproducible
1 parent e59bf17 commit 9138c4f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nodejs/repositories.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,9 @@ def _nodejs_repositories_impl(repository_ctx):
312312
_download_node(repository_ctx)
313313
_prepare_node(repository_ctx)
314314

315+
if hasattr(repository_ctx, "repo_metadata"):
316+
return repository_ctx.repo_metadata(reproducible = True)
317+
315318
_nodejs_repositories = repository_rule(
316319
_nodejs_repositories_impl,
317320
attrs = _ATTRS,

0 commit comments

Comments
 (0)