Skip to content

Commit

Permalink
simplify fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Joelant05 committed Jan 10, 2021
1 parent 4a2217e commit 4f5f4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/src/autoCompletions/Provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ class Provider {
// console.log('[PROPOSING]', path, propose, LIB)

return this.preparePropose(
propose === undefined ? { object: {}, value: [] } : propose,
propose ?? { object: {}, value: [] },
context === undefined ? [] : Object.keys(context.toJSON(false))
)
}
Expand Down

0 comments on commit 4f5f4dd

Please sign in to comment.