Small JS fixes

This commit is contained in:
Joseph Schorr 2016-02-25 17:03:15 -05:00
parent ae9140caae
commit 58ccda6590
4 changed files with 14 additions and 12 deletions

View file

@ -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 ''; }