- Finished new image view

- Add the CoreOS icon font
This commit is contained in:
Joseph Schorr 2015-03-23 15:22:22 -04:00
parent 049148cb87
commit 8042f1a985
7 changed files with 93 additions and 15 deletions

View file

@ -24,8 +24,9 @@ angular.module('quay').directive('imageViewLayer', function () {
if (command[0] != '/bin/sh' || command[1] != '-c') { return ''; }
var cmd = command[2];
if (cmd.substring(0, commandPrefix.length) != commandPrefix) { return ''; }
if (cmd.substring(0, commandPrefix.length) != commandPrefix) {
return 'RUN ' + cmd;
}
return command[2].substr(commandPrefix.length + 1);
};