Small JS fixes
This commit is contained in:
parent
ae9140caae
commit
58ccda6590
4 changed files with 14 additions and 12 deletions
|
@ -40,7 +40,7 @@ angular.module('quay').factory('ImageMetadataService', ['UtilService', function(
|
|||
if (!command) { return ''; }
|
||||
|
||||
// ["/bin/sh", "-c", "#(nop) RUN foo"]
|
||||
var commandPrefix = '#(nop)'
|
||||
var commandPrefix = '#(nop)';
|
||||
|
||||
if (command.length != 3) { return ''; }
|
||||
if (command[0] != '/bin/sh' || command[1] != '-c') { return ''; }
|
||||
|
|
|
@ -75,7 +75,7 @@ angular.module('quay').factory('VulnerabilityService', ['Config', function(Confi
|
|||
}
|
||||
|
||||
classes += option.severity;
|
||||
return classes
|
||||
return classes;
|
||||
};
|
||||
|
||||
vulnService.getVectorOptions = function(vectorString) {
|
||||
|
|
Reference in a new issue