mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
interface: braces around if statements
This commit is contained in:
parent
c66c197936
commit
ce1c69e0d1
@ -55,8 +55,9 @@ class GcpManager {
|
||||
}
|
||||
|
||||
restart() {
|
||||
if (this.#running)
|
||||
if (this.#running) {
|
||||
this.stop();
|
||||
}
|
||||
this.start();
|
||||
}
|
||||
|
||||
@ -105,8 +106,9 @@ class GcpManager {
|
||||
}
|
||||
|
||||
private refreshAfter(durationMs) {
|
||||
if (!this.#running)
|
||||
if (!this.#running) {
|
||||
return;
|
||||
}
|
||||
if (this.#timeoutId !== null) {
|
||||
console.warn('GcpManager already has a timeout set');
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user