We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac96931 commit 44ca258Copy full SHA for 44ca258
src/builder/index.js
@@ -47,8 +47,7 @@ export class Database extends Hookable {
47
48
async toJSON() {
49
const omit = (key, val) => this.omitKeys.includes(key) ? undefined : val
50
- const sort = (a, b) => a.path.localeCompare(b.path)
51
- const data = (await this.db.find({}).toArray()).sort(sort)
+ const data = await this.db.find({}).toArray()
52
53
return JSON.stringify(data, omit)
54
}
0 commit comments