Skip to content

Commit

Permalink
not formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Sep 7, 2024
1 parent 017bbbf commit 246fa2e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion logger/backend/cmd/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var (
)

// GRPC Server
func startGrpc() error {
func startGrpc( ) error {
lis, err := net.Listen("tcp", ":50051")
if err != nil {
log.Fatalf("failed to listen: %v", err)
Expand Down
2 changes: 1 addition & 1 deletion logger/cli/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import requests

r = requests.get("http://localhost:8081")
print(r.json())
print(r.json( ))
2 changes: 1 addition & 1 deletion logger/client/src/build/aspect/JavaLoggingClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static void main(String[] args) throws Exception {
System.out.println(
"Enter log messages to send to the server, enter 'exit' to stop the client.");
Scanner scanner = new Scanner(System.in);
String message = scanner.nextLine();
String message = scanner.nextLine( );
while (!message.equals("exit")) {
client.sendLogMessageToServer(message);
message = scanner.next();
Expand Down
2 changes: 1 addition & 1 deletion logger/frontend/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ServerLogs {

private parseJSON(response: Response): Promise<Response> {
console.log('in parse json');
return response.json();
return response.json( );

Check failure on line 28 in logger/frontend/index.ts

View check run for this annotation

Aspect Workflows / Lint

ESLint found an issue

Unsafe return of type `Promise<any>` from function with return type `Promise<Response>`. (@typescript-eslint/no-unsafe-return)
}

private timestampToString(timestamp): string {
Expand Down

0 comments on commit 246fa2e

Please sign in to comment.