diff --git a/codemods/index.js b/codemods/index.js index 20fe684..97686fa 100644 --- a/codemods/index.js +++ b/codemods/index.js @@ -13,11 +13,11 @@ import isString from './is-string/index.js'; import isRegexp from './is-regexp/index.js'; export const codemods = { - 'is-whitespace': isWhitespace, - 'is-array-buffer': isArrayBuffer, - 'is-boolean-object': isBooleanObject, - 'is-date-object': isDateObject, - 'is-number-object': isNumberObject, - 'is-string': isString, - 'is-regexp': isRegexp + 'is-whitespace': isWhitespace, + 'is-array-buffer': isArrayBuffer, + 'is-boolean-object': isBooleanObject, + 'is-date-object': isDateObject, + 'is-number-object': isNumberObject, + 'is-string': isString, + 'is-regexp': isRegexp, }; diff --git a/codemods/is-array-buffer/index.js b/codemods/is-array-buffer/index.js index 505085e..32e2ba0 100644 --- a/codemods/is-array-buffer/index.js +++ b/codemods/is-array-buffer/index.js @@ -38,7 +38,7 @@ export default function (options) { arg, j.identifier('ArrayBuffer'), ); - const wrappedExpression = j.parenthesizedExpression(newExpression); + const wrappedExpression = j.parenthesizedExpression(newExpression); j(path).replaceWith(wrappedExpression); dirtyFlag = true; } diff --git a/codemods/is-regexp/index.js b/codemods/is-regexp/index.js index dd80a2d..1661f72 100644 --- a/codemods/is-regexp/index.js +++ b/codemods/is-regexp/index.js @@ -38,7 +38,7 @@ export default function (options) { arg, j.identifier('RegExp'), ); - const wrappedExpression = j.parenthesizedExpression(newExpression); + const wrappedExpression = j.parenthesizedExpression(newExpression); j(path).replaceWith(wrappedExpression); dirtyFlag = true; }