Skip to content

Commit e3e315f

Browse files
chore: code formatting
1 parent 10f8333 commit e3e315f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/plugins/habits/index.mjs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ export default async function({login, data, rest, imports, q, account}, {enabled
109109
}
110110
else
111111
console.debug(`metrics/compute/${login}/plugins > habits > linguist not available`)
112+
112113
}
113114

114115
//Generating charts with chartist
@@ -126,7 +127,7 @@ export default async function({login, data, rest, imports, q, account}, {enabled
126127
}
127128
const values = {
128129
labels:Object.keys(data).map(key => labels[key] ?? key),
129-
series:Object.values(data)
130+
series:Object.values(data),
130131
}
131132
if (type === "line") {
132133
Object.assign(options, {
@@ -136,7 +137,7 @@ export default async function({login, data, rest, imports, q, account}, {enabled
136137
showArea:true,
137138
})
138139
Object.assign(values, {
139-
series:[Object.values(data)]
140+
series:[Object.values(data)],
140141
})
141142
}
142143
return imports.chartist(type, options, values)
@@ -172,4 +173,4 @@ export default async function({login, data, rest, imports, q, account}, {enabled
172173
/**Initialize an empty object with values from 0 to n */
173174
function empty(n) {
174175
return Object.fromEntries(new Array(n).fill(0).map((_, i) => [i, 0]))
175-
}
176+
}

0 commit comments

Comments
 (0)