Skip to content

Commit

Permalink
fixup! Improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Silbermann committed Dec 26, 2023
1 parent ee5e7e0 commit 6600ec6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transforms/deprecated-react-node-array.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const parseSync = require("./utils/parseSync");
/**
* @type {import('jscodeshift').Transform}
*/
const deprecatedReactChildTransform = (file, api) => {
const deprecatedReactNodeArrayTransform = (file, api) => {
const j = api.jscodeshift;
const ast = parseSync(file);

Expand Down Expand Up @@ -89,4 +89,4 @@ const deprecatedReactChildTransform = (file, api) => {
return file.source;
};

module.exports = deprecatedReactChildTransform;
module.exports = deprecatedReactNodeArrayTransform;

0 comments on commit 6600ec6

Please sign in to comment.