Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Formatting file
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-rao-a committed Jul 17, 2017
1 parent 352ecac commit c8841f6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/debugAdapter/goDebug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ interface LaunchRequestArguments extends DebugProtocol.LaunchRequestArguments {
host?: string;
buildFlags?: string;
init?: string;
trace?: boolean|'verbose';
trace?: boolean | 'verbose';
/** Optional path to .env file. */
envFile?: string;
backend?: string;
Expand Down Expand Up @@ -317,7 +317,7 @@ class Delve {
logError('Process exiting with code: ' + code);
if (this.onclose) { this.onclose(code); }
});
this.debugProcess.on('error', function(err) {
this.debugProcess.on('error', function (err) {
reject(err);
});
});
Expand Down Expand Up @@ -679,7 +679,7 @@ class GoDebugSession extends DebugSession {
let variables;
if (vari.kind === GoReflectKind.Array || vari.kind === GoReflectKind.Slice || vari.kind === GoReflectKind.Map) {
variables = vari.children.map((v, i) => {
let { result, variablesReference} = this.convertDebugVariableToProtocolVariable(v, i);
let { result, variablesReference } = this.convertDebugVariableToProtocolVariable(v, i);
return {
name: '[' + i + ']',
value: result,
Expand All @@ -688,7 +688,7 @@ class GoDebugSession extends DebugSession {
});
} else {
variables = vari.children.map((v, i) => {
let { result, variablesReference} = this.convertDebugVariableToProtocolVariable(v, i);
let { result, variablesReference } = this.convertDebugVariableToProtocolVariable(v, i);
return {
name: v.name,
value: result,
Expand Down Expand Up @@ -845,7 +845,7 @@ function killTree(processId: number): void {
// on linux and OS X we kill all direct and indirect child processes as well
try {
const cmd = path.join(__dirname, '../../../scripts/terminateProcess.sh');
spawnSync(cmd, [ processId.toString() ]);
spawnSync(cmd, [processId.toString()]);
} catch (err) {
}
}
Expand Down

0 comments on commit c8841f6

Please # to comment.