Skip to content

Commit 6969405

Browse files
committed
Show warnings from pkgdb_to_bzl.py script
1 parent c06713e commit 6969405

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

haskell/private/pkgdb_to_bzl.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ def pkgdb_to_bzl(repository_ctx, paths, libdir):
1919
])
2020
if result.return_code:
2121
fail("Error executing pkgdb_to_bzl.py: {stderr}".format(stderr = result.stderr))
22+
elif result.stderr:
23+
# print any warnings from pkgdb_to_bzl.py
24+
print(result.stderr)
2225

2326
result_dict = json.decode(result.stdout)
2427

0 commit comments

Comments
 (0)