mirror of
https://github.com/danbulant/docker-compose
synced 2026-05-24 12:35:32 +00:00
style: set return type
Co-authored-by: Paweł Niedzielski <pawel.tadeusz.niedzielski@gmail.com>
This commit is contained in:
parent
f1c2c7e8c1
commit
c74fc36909
1 changed files with 1 additions and 1 deletions
|
|
@ -303,7 +303,7 @@ test('ensure run and exec with command defined as array are working', async ():
|
||||||
});
|
});
|
||||||
|
|
||||||
test('build accepts config as string', async (): Promise<void> => {
|
test('build accepts config as string', async (): Promise<void> => {
|
||||||
const configuration = await new Promise<string>(function (resolve, reject) {
|
const configuration = await new Promise<string>(function (resolve, reject): void {
|
||||||
readFile(path.join(__dirname, 'docker-compose-2.yml'), function (err, content) {
|
readFile(path.join(__dirname, 'docker-compose-2.yml'), function (err, content) {
|
||||||
if (err) {
|
if (err) {
|
||||||
reject(err);
|
reject(err);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue