ui/controllers/bag_validation_controller.js
Function postRenderCallback
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
postRenderCallback(fnName) {
let controller = this;
$('#pathToBag').on('change',function(e){
let element = document.getElementById('pathToBag');
if (element && element.files && element.files[0]) {