Skip to content

Commit 61efc8c

Browse files
committed
Set correct defaults to debug details
Signed-off-by: Seb Julliand <[email protected]>
1 parent cab5c37 commit 61efc8c

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

src/api/configuration/DebugConfiguration.ts

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ export function resetDebugServiceDetails() {
102102
export async function getDebugServiceDetails(connection: IBMi): Promise<DebugServiceDetails> {
103103
if (!debugServiceDetails) {
104104
let details = {
105-
version: `1.0.0`,
106-
java: `8`,
105+
version: `0.0.0`,
106+
java: ``,
107107
semanticVersion: () => ({
108-
major: 1,
108+
major: 0,
109109
minor: 0,
110110
patch: 0
111111
})
@@ -129,17 +129,6 @@ export async function getDebugServiceDetails(connection: IBMi): Promise<DebugSer
129129
}
130130
}
131131
}
132-
else {
133-
details = {
134-
version: `1.0.0`,
135-
java: `8`,
136-
semanticVersion: () => ({
137-
major: 1,
138-
minor: 0,
139-
patch: 0
140-
})
141-
};
142-
}
143132

144133
debugServiceDetails = details;
145134
}

0 commit comments

Comments
 (0)