Skip to content

Commit

Permalink
Merge pull request #220 from synvert-hq/awesomecode-format-typescript…
Browse files Browse the repository at this point in the history
…-code-61041

Auto corrected by following Format Typescript Code
  • Loading branch information
flyerhzm authored Apr 25, 2024
2 parents 08b4dc0 + e81f514 commit f2ec3ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,9 @@ const convertToGithubRawUrl = (url: string): string => {
.replace("/blob/", "/");
}
if (url.startsWith("https://gist.github.com")) {
return url.replace("gist.github.com/", "gist.githubusercontent.com/") + "/raw";
return (
url.replace("gist.github.com/", "gist.githubusercontent.com/") + "/raw"
);
}

return url;
Expand Down

0 comments on commit f2ec3ee

Please sign in to comment.