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