mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-10 22:53:06 +08:00
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] <support@github.com> Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
This commit is contained in:
parent
82f56cc549
commit
ab0fa7d95d
7
dist/index.js
generated
vendored
7
dist/index.js
generated
vendored
@ -10321,9 +10321,12 @@ const restartOne = function (service, options) {
|
|||||||
};
|
};
|
||||||
exports.restartOne = restartOne;
|
exports.restartOne = restartOne;
|
||||||
const logs = function (services, options = {}) {
|
const logs = function (services, options = {}) {
|
||||||
let args = Array.isArray(services) ? services : [services];
|
const args = Array.isArray(services) ? services : [services];
|
||||||
if (options.follow) {
|
if (options.follow) {
|
||||||
args = ['--follow', ...args];
|
args.unshift('--follow');
|
||||||
|
}
|
||||||
|
if (options.timestamps) {
|
||||||
|
args.unshift('--timestamps');
|
||||||
}
|
}
|
||||||
return (0, exports.execCompose)('logs', args, options);
|
return (0, exports.execCompose)('logs', args, options);
|
||||||
};
|
};
|
||||||
|
|||||||
7
dist/post.js
generated
vendored
7
dist/post.js
generated
vendored
@ -3610,9 +3610,12 @@ const restartOne = function (service, options) {
|
|||||||
};
|
};
|
||||||
exports.restartOne = restartOne;
|
exports.restartOne = restartOne;
|
||||||
const logs = function (services, options = {}) {
|
const logs = function (services, options = {}) {
|
||||||
let args = Array.isArray(services) ? services : [services];
|
const args = Array.isArray(services) ? services : [services];
|
||||||
if (options.follow) {
|
if (options.follow) {
|
||||||
args = ['--follow', ...args];
|
args.unshift('--follow');
|
||||||
|
}
|
||||||
|
if (options.timestamps) {
|
||||||
|
args.unshift('--timestamps');
|
||||||
}
|
}
|
||||||
return (0, exports.execCompose)('logs', args, options);
|
return (0, exports.execCompose)('logs', args, options);
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user