Making condition simple

- removed checking for undefined, not necessary
This commit is contained in:
Vojta Bartos 2015-06-05 19:49:18 +02:00
parent 955a43a14d
commit 4b708f2275
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ var ContainerDetailsSubheader = React.createClass({
return envs;
}, {}).SHELL;
if(typeof shell === 'undefined') {
if(!shell) {
shell = 'sh';
}
machine.ip().then(ip => {