Skip to content

Commit 1b47ecf

Browse files
authored
Use consistent naming in examples
1 parent 1ea44ea commit 1b47ecf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Returns **Object** instrumentation data;
174174

175175
**Example**
176176
```javascript
177-
const contracts = api.instrument(contracts);
177+
const instrumented = api.instrument(contracts);
178178
const data = api.getInstrumentationData();
179179
save(data); // Pseudo-code
180180
```
@@ -265,7 +265,7 @@ const {
265265
skipped
266266
} = utils.assembleFiles(config, ['Migrations.sol'])
267267

268-
const instrumented = api.instrument(targets);
268+
const instrumented = api.instrument(contracts);
269269
```
270270

271271
--------------
@@ -339,7 +339,7 @@ const {
339339

340340
utils.setupTempFolders(config, tempContractsDir, tempArtifactsDir);
341341

342-
const instrumented = api.instrument(targets);
342+
const instrumented = api.instrument(contracts);
343343

344344
utils.save(instrumented, config.contractsDir, tempContractsDir);
345345
```

0 commit comments

Comments
 (0)