Skip to content

Commit ceb76d6

Browse files
authored
fix(builtin): pass quiet attr though to build file generation on npm / yarn install (#2400)
1 parent 1dda0af commit ceb76d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/npm_install/npm_install.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ def _create_build_files(repository_ctx, rule_type, node, lock_file):
129129
str(repository_ctx.attr.strict_visibility),
130130
",".join(repository_ctx.attr.included_files),
131131
native.bazel_version,
132-
], timeout = 1200) # double the default timeout in case of many packages, see #2231
132+
# double the default timeout in case of many packages, see #2231
133+
], timeout = 1200, quiet = repository_ctx.attr.quiet)
133134
if result.return_code:
134135
fail("generate_build_file.ts failed: \nSTDOUT:\n%s\nSTDERR:\n%s" % (result.stdout, result.stderr))
135136

0 commit comments

Comments
 (0)