Skip to content

Commit

Permalink
Update processor/src/utils.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Kaspar Emanuel <[email protected]>
  • Loading branch information
AbdulrhmnGhanem and kasbah authored Oct 27, 2022
1 parent d10514f commit 6ef0704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function toGitHubRawUrl(url: string) {
if (parsedUrl.hostname === 'github.com') {
parsedUrl.hostname = 'raw.githubusercontent.com'
const urlPath = parsedUrl.pathname.split('/')
// Avoid using modifying github actions status badges.
// Avoid modifying github actions status badges.
const isWorkflowPath = ['workflows', 'actions'].includes(urlPath?.[3])

if (!isWorkflowPath) {
Expand Down

0 comments on commit 6ef0704

Please sign in to comment.