Skip to content
This repository has been archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
Fix tests, update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
yamalight committed Feb 5, 2019
1 parent b9a6200 commit 6b47eec
Show file tree
Hide file tree
Showing 4 changed files with 856 additions and 1,050 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"react/react-in-jsx-scope": "off",
"promise/param-names": "off",
"prefer-promise-reject-errors": "off",
"no-control-regex": "off",
"prettier/prettier": [
"error",
{
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"chokidar": "^2.0.4",
"cors": "^2.8.4",
"dockerode": "^2.5.6",
"fastify": "^1.11.2",
"fastify": "^1.14.0",
"fastify-auth": "^0.3.0",
"highland": "^2.13.0",
"js-yaml": "^3.12.0",
Expand All @@ -33,13 +33,13 @@
"semver-compare": "^1.0.0",
"signale": "^1.3.0",
"sshpk": "^1.14.2",
"tar-fs": "^1.16.3",
"tar-fs": "^2.0.0",
"uuid": "^3.3.2"
},
"devDependencies": {
"coveralls": "^3.0.2",
"get-port": "^4.0.0",
"jest": "^23.6.0",
"jest": "^24.0.0",
"nock": "^10.0.4",
"pkg": "^4.3.4"
},
Expand Down
2 changes: 1 addition & 1 deletion src/routes/logs.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const getContainerLogs = async ({username, id, reply, follow}) => {
const logStream = fixLogStream(logs);
const name = cInfo.Names[0].replace(/^\//, '');
const nameStream = _([`Logs for ${name}\n\n`]);
return [nameStream, _(logStream)];
return [nameStream, logStream];
})
);
// flatten results
Expand Down
Loading

0 comments on commit 6b47eec

Please sign in to comment.