1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 14:10:04 +02:00

style(portal-api): fix lint

This commit is contained in:
Sérgio Ramos 2017-06-21 20:12:57 +01:00
parent 7104e6e1a9
commit 101f4fb423

View File

@ -14,7 +14,7 @@ const internals = {};
module.exports = function (server, options, next) {
const docker = Piloted.service('docker-compose-api');
if (docker) {
options.data.dockerComposeHost = `tcp://${docker.address}:${docker.port}`
options.data.dockerComposeHost = `tcp://${docker.address}:${docker.port}`;
}
const data = new PortalData(options.data);
@ -58,4 +58,4 @@ internals.refresh = function (data) {
data._dockerCompose.client.connect(`tcp://${docker.address}:${docker.port}`);
};
}
};