Skip to content

Commit 0551dd1

Browse files
committed
Refactor code-style
1 parent 28f5e2b commit 0551dd1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

index.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ function findAndReplace(tree, find, replace, options) {
1212
var settings
1313
var schema
1414

15-
if (
16-
typeof find === 'string' ||
17-
(find && typeof find.exec === 'function')
18-
) {
15+
if (typeof find === 'string' || (find && typeof find.exec === 'function')) {
1916
schema = [[find, replace]]
2017
} else {
2118
schema = find

0 commit comments

Comments
 (0)