From 1b47ecfee1df789bcc5c533b01d0e490d70d4f93 Mon Sep 17 00:00:00 2001 From: cgewecke Date: Thu, 5 Dec 2019 01:16:32 -0800 Subject: [PATCH] Use consistent naming in examples --- docs/api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api.md b/docs/api.md index 71d0d43..6bf9f8a 100644 --- a/docs/api.md +++ b/docs/api.md @@ -174,7 +174,7 @@ Returns **Object** instrumentation data; **Example** ```javascript -const contracts = api.instrument(contracts); +const instrumented = api.instrument(contracts); const data = api.getInstrumentationData(); save(data); // Pseudo-code ``` @@ -265,7 +265,7 @@ const { skipped } = utils.assembleFiles(config, ['Migrations.sol']) -const instrumented = api.instrument(targets); +const instrumented = api.instrument(contracts); ``` -------------- @@ -339,7 +339,7 @@ const { utils.setupTempFolders(config, tempContractsDir, tempArtifactsDir); -const instrumented = api.instrument(targets); +const instrumented = api.instrument(contracts); utils.save(instrumented, config.contractsDir, tempContractsDir); ```