Skip to content

Commit

Permalink
fix: Fix build failure
Browse files Browse the repository at this point in the history
Signed-off-by: KunoiSayami <[email protected]>
  • Loading branch information
KunoiSayami committed Dec 14, 2021
1 parent 7b61523 commit 973f9fe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "github-webhook-notification"
version = "2.1.0-rc"
version = "2.1.0-rc.2"
edition = "2021"

[dependencies]
Expand Down
6 changes: 5 additions & 1 deletion src/configure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ impl From<&TomlConfig> for Config {
Config::build_repository_from_configure(
&real_secret,
&real_receiver,
&repository,
repository,
),
);
}
Expand Down Expand Up @@ -389,6 +389,10 @@ impl RepositoryBuilder {
self.is_default = default;
self
}
#[cfg(not(test))]
pub fn set_is_default(&mut self, _: bool) -> &mut Self {
self
}
pub fn build(&self) -> Repository {
Repository {
send_to: self.send_to.clone(),
Expand Down

0 comments on commit 973f9fe

Please sign in to comment.