소스 검색

cli: Remove stripping workspace prefix from program id of the `upgrade` command (#3345)

acheron 11 달 전
부모
커밋
a2937a9326
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cli/src/lib.rs

+ 1 - 1
cli/src/lib.rs

@@ -3916,7 +3916,7 @@ fn upgrade(
             .arg("--keypair")
             .arg(cfg.provider.wallet.to_string())
             .arg("--program-id")
-            .arg(strip_workspace_prefix(program_id.to_string()))
+            .arg(program_id.to_string())
             .arg(strip_workspace_prefix(program_filepath))
             .args(&solana_args)
             .stdout(Stdio::inherit())