Skip to content

Commit

Permalink
updated formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHaxe committed Feb 11, 2024
1 parent 7e6f0d3 commit 6b3ba15
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
]
Expand Down Expand Up @@ -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;
}
]
Expand Down

0 comments on commit 6b3ba15

Please sign in to comment.