Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
thepassle committed Jul 17, 2024
1 parent 4e8a9e2 commit be5059f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions codemods/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
2 changes: 1 addition & 1 deletion codemods/is-array-buffer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion codemods/is-regexp/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit be5059f

Please sign in to comment.