Skip to content

Commit

Permalink
fix docker inspect command interpolation (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
umegbewe authored Jun 20, 2024
1 parent 0eac320 commit c4ba820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain-cli/src/galachain-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export async function getDeploymentResponse(params: { privateKey: string; isTest
}

function getContractNames(imageTag: string): { contractName: string }[] {
const dockerImageInspect = execSync("docker inspect --format=json ${imageTag}");
const dockerImageInspect = execSync(`docker inspect --format=json ${imageTag}`);
let dockerJson;
try {
dockerJson = JSON.parse(dockerImageInspect);
Expand Down

0 comments on commit c4ba820

Please sign in to comment.