Skip to content

Commit

Permalink
Linting and error output
Browse files Browse the repository at this point in the history
  • Loading branch information
sdesalas committed Jul 9, 2024
1 parent ca10b8d commit 4e1bb4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class Server {
this.docker = new Docker(); // connect to pipe /var/run/docker.sock
}
// Get image
console.log(`Pulling server image "${ROCKY_SERVER_IMAGE}" ...`)
this.docker.pull(ROCKY_SERVER_IMAGE);
console.log(`Pulling server image "${ROCKY_SERVER_IMAGE}" ...`);
this.docker.pull(ROCKY_SERVER_IMAGE);
}
/**
* Server information
Expand Down Expand Up @@ -66,7 +66,7 @@ class Server {
this.docker.modem.timeout = 500;
await this.docker.ping();
ping = true;
} catch (e) { console.log(e); /* Do nothing */}
} catch (e) {/* Do nothing */}
this.docker.modem.timeout = null;
return ping;
}
Expand Down

0 comments on commit 4e1bb4e

Please sign in to comment.