Skip to content

Commit

Permalink
fix: lint and tag
Browse files Browse the repository at this point in the history
  • Loading branch information
MehulKChaudhari committed Jan 16, 2025
1 parent 171bad5 commit 0ab7ccc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/helpers/github-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ export function githubLink([project, version, file, line], { isEdit = false }) {

// Check if the project is 'ember' and adjust the tag only if the major version is >= 6 to match the Git tags
const adjustedVersion =
isEmberProject && majorVersion >= 6 ? `${version}-ember-source`
: version;
isEmberProject && majorVersion >= 6 ? `v${version}-ember-source` : `v${version}`;

Check failure on line 10 in app/helpers/github-link.js

View workflow job for this annotation

GitHub Actions / Lint files

Replace `·?·`v${version}-ember-source`` with `⏎······?·`v${version}-ember-source`⏎·····`

if (isEdit) {
return `https://github.com/${githubMap[project]}/edit/release${mainDir(
Expand Down

0 comments on commit 0ab7ccc

Please sign in to comment.