Skip to content

Commit 8d9c123

Browse files
cloutiertylerbfops
andauthored
Update crates/cli/src/subcommands/publish.rs
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com> Signed-off-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
1 parent b5375f6 commit 8d9c123

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/cli/src/subcommands/publish.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ pub async fn exec(mut config: Config, args: &ArgMatches) -> Result<(), anyhow::E
175175
let domain = percent_encoding::percent_encode(name_or_identity.as_bytes(), encode_set);
176176
let mut builder = client.put(format!("{database_host}/v1/database/{domain}"));
177177

178-
if !(clear_database == ClearMode::Always) {
178+
if clear_database != ClearMode::Always {
179179
builder = apply_pre_publish_if_needed(
180180
builder,
181181
&client,

0 commit comments

Comments
 (0)