Skip to content

Commit

Permalink
Merge pull request #1996 from codefori/fix/debug_version_path
Browse files Browse the repository at this point in the history
Fix/debug_version_path
  • Loading branch information
sebjulliand authored Apr 20, 2024
2 parents b3f5555 + e1f4326 commit 87ce474
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1813,7 +1813,7 @@
"code-for-ibmi.debug.group": [
{
"command": "code-for-ibmi.debug.batch",
"when": "code-for-ibmi:debug && viewItem =~ /^object.pgm.*/"
"when": "code-for-ibmi:debug && (viewItem =~ /^object.pgm.*/ || editorFocus)"
},
{
"command": "code-for-ibmi.debug.sep",
Expand Down
2 changes: 1 addition & 1 deletion src/api/debug/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export async function getDebugServiceDetails(): Promise<DebugServiceDetails> {
};

const detailFilePath = path.posix.join(directory, detailFile);
const detailExists = await content.testStreamFile(detailFile, "r");
const detailExists = await content.testStreamFile(detailFilePath, "r");
if (detailExists) {
try {
const fileContents = (await content.downloadStreamfileRaw(detailFilePath)).toString("utf-8");
Expand Down

0 comments on commit 87ce474

Please sign in to comment.