Skip to content

Commit

Permalink
Merge pull request #1176 from tgodzik/add-logo
Browse files Browse the repository at this point in the history
improvement: Add scalameta logo to release notes
  • Loading branch information
tgodzik authored Oct 6, 2022
2 parents 93f0455 + bfbb1d7 commit d215c80
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/releaseNotesProvider.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { env, ExtensionContext } from "vscode";
import * as vscode from "vscode";
import * as semver from "semver";
import path from "path";
import { Remarkable } from "remarkable";
import { fetchFrom } from "./util";
import { Either, makeLeft, makeRight } from "./types";
Expand Down Expand Up @@ -71,6 +72,10 @@ async function showReleaseNotesImpl(
vscode.ViewColumn.One
);

panel.iconPath = vscode.Uri.file(
path.join(context.extensionPath, "icons", "scalameta-logo.png")
);

const releaseNotes = await getReleaseNotesMarkdown(
releaseNotesUrl,
context,
Expand Down

0 comments on commit d215c80

Please sign in to comment.