Skip to content

Commit 43c5de7

Browse files
committed
fix(docs): Fix example in readme
This refers to the old Mergeable behavior
1 parent 39eb404 commit 43c5de7

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,15 @@ The generated config will be a standard Javascript object:
8787
var config = require('pelias-config'),
8888
settings = config.generate();
8989

90-
// strip out all functions etc and produce a plain js object copy
91-
var copy = settings.export();
90+
console.log(JSON.stringify(settings, null, 2));
91+
// {
92+
// "api": {
93+
// ...
94+
// },
95+
// "imports": {
96+
// ...
97+
// }
98+
// }
9299
```
93100

94101
You can pretty print the generated config with any package you like or with `JSON.stringify`.

0 commit comments

Comments
 (0)