summaryrefslogtreecommitdiff
path: root/cli/tools/registry/paths.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/registry/paths.rs')
-rw-r--r--cli/tools/registry/paths.rs2
1 files changed, 1 insertions, 1 deletions
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<Vec<u8>>,