From ab0fa7d95dbf79d44ff58e52fe44772395b9ecb0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Sep 2025 04:02:51 +0000 Subject: [PATCH] chore(deps): bump docker-compose from 1.2.0 to 1.3.0 Bumps [docker-compose](https://github.com/PDMLab/docker-compose) from 1.2.0 to 1.3.0. - [Changelog](https://github.com/PDMLab/docker-compose/blob/master/CHANGELOG.md) - [Commits](https://github.com/PDMLab/docker-compose/compare/v1.2.0...v1.3.0) --- updated-dependencies: - dependency-name: docker-compose dependency-version: 1.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: Emilien Escalle --- dist/index.js | 7 +++++-- dist/post.js | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 349d5e9..81ed5d9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -10321,9 +10321,12 @@ const restartOne = function (service, options) { }; exports.restartOne = restartOne; const logs = function (services, options = {}) { - let args = Array.isArray(services) ? services : [services]; + const args = Array.isArray(services) ? services : [services]; if (options.follow) { - args = ['--follow', ...args]; + args.unshift('--follow'); + } + if (options.timestamps) { + args.unshift('--timestamps'); } return (0, exports.execCompose)('logs', args, options); }; diff --git a/dist/post.js b/dist/post.js index 75facb0..f5070d2 100644 --- a/dist/post.js +++ b/dist/post.js @@ -3610,9 +3610,12 @@ const restartOne = function (service, options) { }; exports.restartOne = restartOne; const logs = function (services, options = {}) { - let args = Array.isArray(services) ? services : [services]; + const args = Array.isArray(services) ? services : [services]; if (options.follow) { - args = ['--follow', ...args]; + args.unshift('--follow'); + } + if (options.timestamps) { + args.unshift('--timestamps'); } return (0, exports.execCompose)('logs', args, options); };