Skip to content

Commit

Permalink
Removed return
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJonas committed May 25, 2024
1 parent 09677b0 commit eb9894f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/tools/rust-analyzer/editors/code/src/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,10 @@ function getCCppDebugConfig(
args: runnable.args.executableArgs,
cwd: runnable.args.cwd || runnable.args.workspaceRoot || ".",
sourceFileMap,
environment: Object.entries(env).map((entry) => {
return { name: entry[0], value: entry[1] };
}),
environment: Object.entries(env).map((entry) => ({
name: entry[0],
value: entry[1],
})),
// See https://github.com/rust-lang/rust-analyzer/issues/16901#issuecomment-2024486941
osx: {
MIMode: "lldb",
Expand Down

0 comments on commit eb9894f

Please sign in to comment.