From cbec12b286e27f38554cdef1c052a103a27447da Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Thu, 25 Aug 2022 20:25:21 -0700 Subject: [PATCH] chore: remote out-of-date reference to DefaultOutputPathInfo in write_source_files error message --- lib/private/write_source_file.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/write_source_file.bzl b/lib/private/write_source_file.bzl index 213a035..e470868 100644 --- a/lib/private/write_source_file.bzl +++ b/lib/private/write_source_file.bzl @@ -271,7 +271,7 @@ def _write_source_file_impl(ctx): elif len(ctx.files.in_file) == 1: in_path = ctx.files.in_file[0].short_path else: - msg = "in file {} must be a single file or a target that provides DefaultOutputPathInfo or DirectoryPathInfo".format(ctx.attr.in_file.label) + msg = "in file {} must be a single file or a target that provides a DirectoryPathInfo".format(ctx.attr.in_file.label) fail(msg) out_path = "/".join([ctx.label.package, ctx.attr.out_file]) if ctx.label.package else ctx.attr.out_file