From bee16c54abada37b98808b5ef85be534fb3b7ea9 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 26 Jul 2024 11:35:29 -0400 Subject: fix(publish): workspace included license file had incorrect path (#24747) Also fixes the issue where we say a package was successfully published before it wasn't. Bug in https://github.com/denoland/deno/pull/24714 --- cli/tools/registry/paths.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tools/registry/paths.rs') diff --git a/cli/tools/registry/paths.rs b/cli/tools/registry/paths.rs index 5943e0cbb..8b6c05fc0 100644 --- a/cli/tools/registry/paths.rs +++ b/cli/tools/registry/paths.rs @@ -214,7 +214,7 @@ pub enum PackagePathValidationError { pub struct CollectedPublishPath { pub specifier: ModuleSpecifier, pub path: PathBuf, - /// Relative path to use in the tarball. + /// Relative path to use in the tarball. This should be prefixed with a `/`. pub relative_path: String, /// Specify the contents for any injected paths. pub maybe_content: Option>, -- cgit v1.2.3