@stacks/rendezvous
Advanced tools
+9
-1
@@ -50,3 +50,5 @@ "use strict"; | ||
| } | ||
| const deploymentPlan = yaml_1.default.parse((0, fs_1.readFileSync)((0, path_1.join)(manifestDir, "deployments", "default.simnet-plan.yaml"), { | ||
| const deploymentPlanRelativePath = (0, path_1.relative)(manifestDir, (0, path_1.join)(manifestDir, "deployments", "default.simnet-plan.yaml")); | ||
| const deploymentPlanAbsolutePath = (0, path_1.join)(manifestDir, deploymentPlanRelativePath); | ||
| const deploymentPlan = yaml_1.default.parse((0, fs_1.readFileSync)(deploymentPlanAbsolutePath, { | ||
| encoding: "utf-8", | ||
@@ -105,2 +107,8 @@ })); | ||
| process.stdout.write = () => true; | ||
| // Cleanup the deployment plan file if it exists. This will force clarinet | ||
| // to generate the deployment plan from scratch, accounting for the new | ||
| // Rendezvous contract. | ||
| if ((0, fs_1.existsSync)(deploymentPlanRelativePath)) { | ||
| (0, fs_1.rmSync)(deploymentPlanRelativePath, { force: true }); | ||
| } | ||
| try { | ||
@@ -107,0 +115,0 @@ const simnet = yield (0, clarinet_sdk_1.initSimnet)(manifestFileName); |
| { | ||
| "name": "@stacks/rendezvous", | ||
| "version": "0.13.0", | ||
| "version": "0.13.1", | ||
| "description": "Meet your contract's vulnerabilities head-on.", | ||
@@ -5,0 +5,0 @@ "main": "app.js", |
+1
-1
| { | ||
| "name": "@stacks/rendezvous", | ||
| "version": "0.13.0", | ||
| "version": "0.13.1", | ||
| "description": "Meet your contract's vulnerabilities head-on.", | ||
@@ -5,0 +5,0 @@ "main": "app.js", |
162503
0.34%2312
0.35%