Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/private/pkg_files.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def add_from_default_info(
include_runfiles: Include runfiles
workspace_name: name of the main workspace
"""
if not DefaultInfo in src:
if not DefaultInfo in src or not src[DefaultInfo].files:
return

# Auto-detect the executable so we can set its mode.
Expand Down
Loading