Skip to content

Commit

Permalink
Remove "Empty symlink name pointing to" precondition check.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 682036025
Change-Id: Ibc71c5cc3306afa7e36f43ad0ea16562ca92898d
  • Loading branch information
gregestren authored and copybara-github committed Oct 3, 2024
1 parent 208b9c6 commit 36fe9f8
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ public static FilesetOutputSymlink createAlreadyRelativized(
HasDigest metadata,
boolean isRelativeToExecRoot,
@Nullable PathFragment enclosingTreeArtifactExecPath) {
checkArgument(!name.isEmpty(), "Empty symlink name pointing to %s", target);
checkArgument(!target.isEmpty(), "Empty symlink target for %s", name);
return new AutoValue_FilesetOutputSymlink(
name, target, metadata, isRelativeToExecRoot, enclosingTreeArtifactExecPath);
Expand Down

0 comments on commit 36fe9f8

Please sign in to comment.