Skip to content

Commit

Permalink
add pre
Browse files Browse the repository at this point in the history
  • Loading branch information
huangjien committed Sep 5, 2024
1 parent eb35986 commit 81fddd2
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 @@ -2,7 +2,7 @@
"name": "jenkins-log-reader",
"displayName": "jenkins-log-reader",
"description": "read jenkins log, analyse with local AI.",
"version": "0.3.20",
"version": "0.3.21",
"engines": {
"vscode": "^1.92.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/panels/JenkinsPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export class JenkinsPanel {
)
);
fs.writeFileSync(JenkinsPanel.storagePath + "/analysed/" + hash+".md",
"<details>\n<summary>Jenkins Log</summary>\n"+data+"</details>\n\n"
"<details>\n<summary>Jenkins Log</summary>\n<pre>\n"+data+"\n</pre></details>\n\n"
+content )
const uri = Uri.file(JenkinsPanel.storagePath + "/analysed/" + hash+".md");
commands.executeCommand('markdown.showPreview', uri);
Expand Down

0 comments on commit 81fddd2

Please sign in to comment.