Closed tristanrobert closed 3 years ago
https://github.com/theforeman/foreman-packaging/pull/6447
https://ci.theforeman.org/job/packaging_build_deb_plugin/arch=x86,label=debian,os=bionic/721/console
16:06:10 Uglifier::Error: Unexpected token: name (id). To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true). 16:06:10 -- 16:06:10 [36m 19[0m var id = $(item).attr('id'); 16:06:10 [36m 20[0m var pattern = /(host_compute_attributes_volumesattributes||compute_attribute_vm_attrs_volumesattributes)(\d+)_/i; 16:06:10 [36m 21[0m pattern_a = pattern.exec(id); 16:06:10 [36m 22[0m var index = patterna[2]; 16:06:10 [36m 23[0m return index; 16:06:10 [36m 24[0m } 16:06:10 [36m 25[0m 16:06:10 [36m 26[0m function volumeId(type,index){ 16:06:10 [91m => [0m let [91mid = '#volume' + type + '_' + index;[0m 16:06:10 [36m 28[0m return id; 16:06:10 [36m 29[0m } 16:06:10 [36m 30[0m 16:06:10 [36m 31[0m function enableField(id) { 16:06:10 [36m 32[0m $(id).show(); 16:06:10 [36m 33[0m $(id).removeAttr('disabled'); 16:06:10 [36m 34[0m } 16:06:10 [36m 35[0m
https://github.com/theforeman/foreman-packaging/pull/6447
https://ci.theforeman.org/job/packaging_build_deb_plugin/arch=x86,label=debian,os=bionic/721/console