question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Code links missing relative paths in template?

See original GitHub issue

Hi, we’re VERY happy uses of this bot – it’s AMAZING!

I noticed in a recent PR that the link to code is not quite right.

https://github.com/publiclab/plots2/issues/2398

See app/models/node.rb links to https://github.com/publiclab/plots2/blob/master/node.rb in the Step By Step item.

It’s supposed to link to: https://github.com/publiclab/plots2/blob/master/app/models/node.rb

Do we have this set up wrong?

[$FILENAME]($BRANCH_URL) is in our config file: https://github.com/publiclab/plots2/blob/master/.github/first-timers-issue-template.md

What variables are allowed in there? And I can’t seem to find the example file anymore, has this changed?

Thanks so much!!!

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jywarrencommented, Feb 26, 2018

Yes - opening PR now:

"https://github.com/publiclab/plots2/blob/master/app/models/node.rb".replace(/(?:blob\/)(\w+)/g, "blob/my-branch")

0reactions
jywarrencommented, Apr 26, 2018

Test and fix in different commits in #192.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to include relative path file using Jade Template
I'm completely at a loss. Is there another setting somewhere that I am missing? It feels like this should be something super simple....
Read more >
Template structure & relative paths - HubSpot Community
Solved: I'm in the process of looking into the migration of an existing website into hubspot. I have some questions; I'm having trouble...
Read more >
Relative Links/Paths - WordPress.org
Hi,. I'm trying to use the broken link checker with relative paths/links and it doesn't seem to be working for me. I'm not...
Read more >
How to create absolute hyperlinks and relative hyperlinks in ...
A hyperlink base is the path that is shared by the file that contains the hyperlink and the destination file. Relative hyperlink. A...
Read more >
Problems with using relative path names [#13148] | Drupal.org
So, did I miss something obvious? Am I seriously off the mark? Your thoughts! Comment, File, Size, Author ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found