mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
Add braces for if-else
This commit is contained in:
parent
2d1e8f10b7
commit
3ff83f3d3d
@ -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();
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user