mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 00:01:34 +00:00
make unwrap resilient for global cache
This commit is contained in:
@@ -443,7 +443,10 @@ pub async fn untar_all_piptars() -> error::Result<()> {
|
||||
.last()
|
||||
.unwrap()
|
||||
.strip_suffix(".tar")
|
||||
.unwrap()
|
||||
.ok_or_else(|| error::Error::InternalErr(format!(
|
||||
"Unexpected path file not ending in .tar for: {}",
|
||||
path
|
||||
)))?
|
||||
);
|
||||
if metadata(&folder).await.is_ok() {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user