Add braces for if-else

This commit is contained in:
RMidhunSuresh 2022-09-06 01:28:36 +05:30
parent 2d1e8f10b7
commit 3ff83f3d3d

View File

@ -107,7 +107,9 @@ export function dockerStop(args: {
"stop",
args.containerId,
], err => {
if (err) reject(err);
if (err) {
reject(err);
}
resolve();
});
});
@ -121,7 +123,9 @@ export function dockerRm(args: {
"rm",
args.containerId,
], err => {
if (err) reject(err);
if (err) {
reject(err);
}
resolve();
});
});