@@ -256,7 +256,7 @@ async fn perform_publish(
256
256
. collect :: < Vec < _ > > ( ) ;
257
257
258
258
let response = client
259
- . post ( format ! ( "{}/ authorizations" , registry_url) )
259
+ . post ( format ! ( "{}authorizations" , registry_url) )
260
260
. json ( & serde_json:: json!( {
261
261
"challenge" : challenge,
262
262
"permissions" : permissions,
@@ -285,7 +285,7 @@ async fn perform_publish(
285
285
loop {
286
286
tokio:: time:: sleep ( interval) . await ;
287
287
let response = client
288
- . post ( format ! ( "{}/ authorizations/exchange" , registry_url) )
288
+ . post ( format ! ( "{}authorizations/exchange" , registry_url) )
289
289
. json ( & serde_json:: json!( {
290
290
"exchangeToken" : auth. exchange_token,
291
291
"verifier" : verifier,
@@ -372,7 +372,7 @@ async fn perform_publish(
372
372
) ;
373
373
374
374
let url = format ! (
375
- "{}/ scopes/{}/packages/{}/versions/{}" ,
375
+ "{}scopes/{}/packages/{}/versions/{}" ,
376
376
registry_url, package. scope, package. package, package. version
377
377
) ;
378
378
@@ -397,7 +397,7 @@ async fn perform_publish(
397
397
while task. status != "success" && task. status != "failure" {
398
398
tokio:: time:: sleep ( interval) . await ;
399
399
let resp = client
400
- . get ( format ! ( "{}/ publish_status/{}" , registry_url, task. id) )
400
+ . get ( format ! ( "{}publish_status/{}" , registry_url, task. id) )
401
401
. send ( )
402
402
. await
403
403
. with_context ( || {
0 commit comments