File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
postgresql_embedded/build Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,13 +63,13 @@ pub(crate) async fn stage_postgresql_archive() -> Result<()> {
6363 println ! ( "Using cached PostgreSQL archive: {cached_file:?}" ) ;
6464 ( exact_version, fs:: read ( & cached_file) ?)
6565 } else {
66- let result = get_archive ( & releases_url, & version_req) . await ?;
66+ let ( asset_version , archive ) = get_archive ( & releases_url, & version_req) . await ?;
6767 if let Some ( parent) = cached_file. parent ( ) {
6868 fs:: create_dir_all ( parent) ?;
6969 }
70- fs:: write ( & cached_file, & result . 1 ) ?;
70+ fs:: write ( & cached_file, & archive ) ?;
7171 println ! ( "Cached PostgreSQL archive to: {cached_file:?}" ) ;
72- result
72+ ( asset_version , archive )
7373 }
7474 } else {
7575 get_archive ( & releases_url, & version_req) . await ?
You can’t perform that action at this time.
0 commit comments