interface: braces around if statements

This commit is contained in:
J 2021-03-01 21:36:00 +00:00
parent c66c197936
commit ce1c69e0d1

View File

@ -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;