Skip to content

Commit fffefcc

Browse files
committed
refactor: fix lint on lib/utils.js
Signed-off-by: BoHong Li <[email protected]>
1 parent d3fc6f5 commit fffefcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports.isSQLite = function isSQLite (sequelize) {
77
}
88

99
exports.getImageMimeType = function getImageMimeType (imagePath) {
10-
var fileExtension = /[^.]+$/.exec(imagePath)
10+
const fileExtension = /[^.]+$/.exec(imagePath)
1111

1212
switch (fileExtension[0]) {
1313
case 'bmp':

0 commit comments

Comments
 (0)