Use consistent naming in examples

pull/456/head
cgewecke 5 years ago committed by GitHub
parent 1ea44eae69
commit 1b47ecfee1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      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);
```

Loading…
Cancel
Save