Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Fix compiler warning :D
Browse files Browse the repository at this point in the history
  • Loading branch information
gabbifish committed Sep 23, 2019
1 parent bd1e104 commit 50baad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/publish/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub fn publish(user: &GlobalUser, target: &mut Target) -> Result<(), failure::Er

validate_target(target)?;

if let Some(site_config) = &target.site {
if let Some(site_config) = target.site.clone() {
let site_namespace = kv::namespace::site(target, user)?;

target.add_kv_namespace(KvNamespace {
Expand Down

0 comments on commit 50baad5

Please sign in to comment.