src/services/fs/contents/ContentsService.js
Function readInfo
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async readInfo(): Promise<ImageContentsInfo> {
switch (this.as.detectClassifyType()) {
case TYPE_IMAGE: {
const info = await this.imageMagickService.identify(
this.as.getSourcePath()