hive.rs: Remove unwrap in builder_args()
This commit is contained in:
parent
886b4c9dea
commit
7cc6552ee3
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ impl Hive {
|
||||||
async fn builder_args(&self) -> NixResult<Vec<String>> {
|
async fn builder_args(&self) -> NixResult<Vec<String>> {
|
||||||
let mut options = Vec::new();
|
let mut options = Vec::new();
|
||||||
|
|
||||||
if let Some(machines_file) = self.machines_file().await.unwrap() {
|
if let Some(machines_file) = self.machines_file().await? {
|
||||||
options.append(&mut vec![
|
options.append(&mut vec![
|
||||||
"--option".to_owned(),
|
"--option".to_owned(),
|
||||||
"builders".to_owned(),
|
"builders".to_owned(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue