Fix linting
This commit is contained in:
parent
553ba9db9a
commit
bb5189c9ed
35 changed files with 157 additions and 866 deletions
|
@ -1,13 +1,14 @@
|
|||
import fs from 'mz/fs';
|
||||
import jimp from 'jimp';
|
||||
import debugname from 'debug';
|
||||
|
||||
const debug = debugname('hostr-api:resize');
|
||||
|
||||
const types = {
|
||||
jpg: jimp.MIME_JPEG,
|
||||
png: jimp.MIME_PNG,
|
||||
gif: jimp.MIME_JPEG,
|
||||
}
|
||||
};
|
||||
|
||||
function cover(path, type, size) {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue