style: set return type

Co-authored-by: Paweł Niedzielski <pawel.tadeusz.niedzielski@gmail.com>
This commit is contained in:
Alexander Zeitler 2021-01-06 17:07:43 +01:00
parent f1c2c7e8c1
commit c74fc36909

View file

@ -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> => {
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) {
if (err) {
reject(err);