mirror of
https://github.com/danbulant/docker-compose
synced 2026-06-24 17:31:53 +00:00
Fix linting
This commit is contained in:
parent
5bd54c3049
commit
1aefb96986
1 changed files with 2 additions and 2 deletions
|
|
@ -211,12 +211,12 @@ test('ensure run and exec with command defined as array are working', async asse
|
||||||
|
|
||||||
assert.true(await isContainerRunning('/compose_test_nginx'));
|
assert.true(await isContainerRunning('/compose_test_nginx'));
|
||||||
|
|
||||||
let std = await compose.exec('db', ['/bin/sh', '-c', 'cat /etc/os-release'], opts);
|
let std = await compose.exec('db', [ '/bin/sh', '-c', 'cat /etc/os-release' ], opts);
|
||||||
|
|
||||||
assert.false(std.err);
|
assert.false(std.err);
|
||||||
checkOSID(std.out, 'debian');
|
checkOSID(std.out, 'debian');
|
||||||
|
|
||||||
std = await compose.run('alpine', ['/bin/sh', '-c', 'cat /etc/os-release'], opts);
|
std = await compose.run('alpine', [ '/bin/sh', '-c', 'cat /etc/os-release' ], opts);
|
||||||
assert.false(std.err);
|
assert.false(std.err);
|
||||||
checkOSID(std.out, 'alpine');
|
checkOSID(std.out, 'alpine');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue