chore: fix linting

This commit is contained in:
harttle
2019-02-23 03:50:45 +08:00
parent 56c7992b76
commit 3cf01603e8
35 changed files with 107 additions and 110 deletions
+1 -1
View File
@@ -179,6 +179,6 @@ export default function (d: Date, format: string) {
// Add the format code
const ch = results[0].charAt(1)
const func = formatCodes[ch]
output += func ? func.call(null, d) : '%' + ch
output += func ? func(d) : '%' + ch
}
}