Skip to content

Commit

Permalink
docs: readme: fixed example: fileName -> filename (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser authored Jul 5, 2024
1 parent 643e080 commit 46bee63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ If you're instrumenting code programatically, you can pass a source map explicit
```js
import babelPluginIstanbul from 'babel-plugin-istanbul';

function instrument(sourceCode, sourceMap, fileName) {
function instrument(sourceCode, sourceMap, filename) {
return babel.transform(sourceCode, {
filename,
plugins: [
Expand Down

0 comments on commit 46bee63

Please sign in to comment.