Skip to content

Commit

Permalink
fix(printer): repair default layout for empty command
Browse files Browse the repository at this point in the history
  • Loading branch information
sQVe committed Aug 12, 2019
1 parent 48710b0 commit e60e6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/printer.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const printSnippet = ({ cp, layout, json }, x) => {
i: 'id',
t: 'tags',
}
const keysByLayout = map (k => layoutMap[k]) (Array.from (layout))
const keysByLayout = map (k => layoutMap[k]) (Array.from (layout || 'itced'))

if (x == null) return ''
if (cp) {
Expand Down

0 comments on commit e60e6cb

Please sign in to comment.