myems-admin/app/controllers/settings/knowledgefile/knowledgefile.controller.js
Function deleteKnowledgeFile
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteKnowledgeFile = function (knowledgefile) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",