From 6b3ba151bbe21008ffed925134b610ea0750f35b Mon Sep 17 00:00:00 2001 From: AlexHaxe Date: Sun, 11 Feb 2024 01:33:21 +0100 Subject: [PATCH] updated formatting --- src/Main.hx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/Main.hx b/src/Main.hx index 4ce7007..c83b5d5 100644 --- a/src/Main.hx +++ b/src/Main.hx @@ -422,10 +422,8 @@ class Main extends vscode.debugAdapter.DebugSession { breakpoints: [ for (sbp in args.breakpoints) { final bp:{line:Int, ?column:Int, ?condition:String} = {line: sbp.line}; - if (sbp.column != null) - bp.column = sbp.column; - if (sbp.condition != null) - bp.condition = sbp.condition; + if (sbp.column != null) bp.column = sbp.column; + if (sbp.condition != null) bp.condition = sbp.condition; bp; } ] @@ -471,8 +469,7 @@ class Main extends vscode.debugAdapter.DebugSession { targets: [ for (item in result) { final item2:vscode.debugProtocol.DebugProtocol.CompletionItem = {label: item.label, type: item.type}; - if (item.start != null) - item2.start = item.start; + if (item.start != null) item2.start = item.start; item2; } ]