From 46bee6309782610ea043f874fba8c1d6a556fdec Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 5 Jul 2024 14:48:45 +0300 Subject: [PATCH] docs: readme: fixed example: `fileName` -> `filename` (#269) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a027e9b..0201b64 100644 --- a/README.md +++ b/README.md @@ -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: [