fix: update dry run success message (#24885)

This commit is contained in:
HasanAlrimawi 2024-08-06 11:14:06 +03:00 committed by GitHub
parent 6995bd5bcc
commit bbf23190d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
14 changed files with 14 additions and 14 deletions

View File

@ -165,7 +165,7 @@ pub async fn publish(
log::info!(" {} ({})", file.specifier, human_size(file.size as f64),);
}
}
log::warn!("{} Aborting due to --dry-run", colors::yellow("Warning"));
log::warn!("{} Dry run complete", colors::green("Success"));
return Ok(());
}

View File

@ -8,4 +8,4 @@ Simulating publish of @scope/package@0.0.0 with files:
file:///[WILDLINE]/main.out ([WILDLINE])
file:///[WILDLINE]/main.ts ([WILDLINE])
file:///[WILDLINE]/publish.out ([WILDLINE])
Warning Aborting due to --dry-run
Success Dry run complete

View File

@ -9,4 +9,4 @@ Simulating publish of @foo/bar@1.0.0 with files:
file:///[WILDLINE]/LICENSE ([WILDLINE])
file:///[WILDLINE]/deno.json (87B)
file:///[WILDLINE]/mod.ts (121B)
Warning Aborting due to --dry-run
Success Dry run complete

View File

@ -3,4 +3,4 @@ Simulating publish of @foo/bar@1.0.0 with files:
file:///[WILDLINE]/LICENSE ([WILDLINE])
file:///[WILDLINE]/deno.json (87B)
file:///[WILDLINE]/mod.ts (121B)
Warning Aborting due to --dry-run
Success Dry run complete

View File

@ -5,4 +5,4 @@ Simulating publish of @scope/package@0.0.0 with files:
file:///[WILDLINE]/LICENSE ([WILDLINE])
file:///[WILDLINE]/deno.jsonc ([WILDLINE])
file:///[WILDLINE]/mod.ts ([WILDLINE])
Warning Aborting due to --dry-run
Success Dry run complete

View File

@ -1,3 +1,3 @@
[WILDCARD]Unfurled specifier: @denotest/add from [WILDLINE]/src/index.ts -> npm:@denotest/add@1
[WILDCARD]
Warning Aborting due to --dry-run
Success Dry run complete

View File

@ -5,4 +5,4 @@ Simulating publish of @foo/bar@1.0.0 with files:
[WILDCARD]deno.json (140B)
[WILDCARD]mod.ts (137B)
[WILDCARD]std_http.ts (119B)
Warning Aborting due to --dry-run
Success Dry run complete

View File

@ -4,4 +4,4 @@ Simulating publish of @scope/pkg@1.0.0 with files:
file:///[WILDLINE]/LICENSE ([WILDLINE])
file:///[WILDLINE]/deno.jsonc (74B)
file:///[WILDLINE]/mod.ts (22B)
Warning Aborting due to --dry-run
Success Dry run complete

View File

@ -16,4 +16,4 @@ Simulating publish of @scope/subtract@1.0.0 with files:
file:///[WILDLINE]/npm_workspace/subtract/jsr.json ([WILDLINE])
file:///[WILDLINE]/npm_workspace/subtract/package.json ([WILDLINE])
[UNORDERED_END]
Warning Aborting due to --dry-run
Success Dry run complete

View File

@ -5,4 +5,4 @@ Simulating publish of @foo/bar@1.0.0 with files:
file:///[WILDCARD]/b/index.ts (27B)
file:///[WILDCARD]/deno.json (87B)
file:///[WILDCARD]/mod.ts (35B)
Warning Aborting due to --dry-run
Success Dry run complete

View File

@ -3,4 +3,4 @@ Simulating publish of @foo/bar@1.0.0 with files:
file:///[WILDCARD]/b/index.ts (27B)
file:///[WILDCARD]/deno.json (87B)
file:///[WILDCARD]/mod.ts (35B)
Warning Aborting due to --dry-run
Success Dry run complete

View File

@ -12,4 +12,4 @@ warning[unsupported-file-type]: unsupported file type 'symlink'
Simulating publish of @foo/bar@1.0.0 with files:
[WILDCARD]deno.json (87B)
[WILDCARD]mod.ts (56B)
Warning Aborting due to --dry-run
Success Dry run complete

View File

@ -6,4 +6,4 @@ Simulating publish of @foo/foo@1.0.0 with files:
file:///[WILDLINE]/workspace/LICENSE (0B)
file:///[WILDLINE]/workspace/foo/deno.json (135B)
file:///[WILDLINE]/workspace/foo/mod.ts (118B)
Warning Aborting due to --dry-run
Success Dry run complete

View File

@ -14,4 +14,4 @@ Simulating publish of @foo/bar@1.0.0 with files:
file:///[WILDLINE]/workspace/bar/deno.json (87B)
file:///[WILDLINE]/workspace/bar/mod.ts (70B)
[UNORDERED_END]
Warning Aborting due to --dry-run
Success Dry run complete