You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-11-25 22:32:52 +02:00
log sharp formats
This commit is contained in:
@@ -327,7 +327,8 @@ export class ConfigDiagnostics {
|
||||
}
|
||||
if (removedSome) {
|
||||
const sharp = require('sharp');
|
||||
Logger.silly(LOG_TAG, 'Sharp supports:' + JSON.stringify(sharp.versions));
|
||||
Logger.silly(LOG_TAG, 'Sharp supports:' + JSON.stringify(sharp.format, null, 2));
|
||||
Logger.silly(LOG_TAG, 'Sharp versions:' + JSON.stringify(sharp.versions));
|
||||
SupportedFormats.init();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user