Skip to content

Commit ab8d18f

Browse files
committed
update plain.js
1 parent 034ec1c commit ab8d18f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/formatters/plain.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
import _ from 'lodash';
2+
13
const stringify = (value) => {
2-
if (typeof value === 'object' && value !== null) {
4+
if (_.isObject(value)) {
35
return '[complex value]';
46
}
57

0 commit comments

Comments
 (0)