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.

Local folder with subfolders

See original GitHub issue

@JustinBeckwith: I’m trying to add linkinator in the nodejs.org repo.

The file structure there is like this:

build/
  ar/
    index.html
    <more folders>/
      index.html
  ca/
    index.html
    <more folders>/
      index.html
  en/
    index.html
    <more folders>/
      index.html
  <more folders>/
  static/

So, if I do linkinator build/ --recurse it fails because it doesn’t see an index.html. If I do linkinator build/en --recurse then I get false positives because linkinator can’t find the root.

Is there a workaround or something you could do about it?

Thanks in advance!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
XhmikosRcommented, Sep 14, 2019

Alright, I successfully managed to set a CLI solution but that scans only one locale.

So, I figure we need to use the API, right? Not very familiar with it but it seems linkinator returns a Promise so my first attempt doesn’t work.

If you have any time, here’s my WIP branch with the API solution https://github.com/nodejs/nodejs.org/compare/master...XhmikosR:master-xmr-linkinator-2

First, I want to at least land the English locale CLI scanning on https://github.com/nodejs/nodejs.org/pull/2565 and then see how we can improve things with using the API directly.

1reaction
nkuehncommented, Jan 8, 2021

Thanks, using the server root works now!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create a subfolder - Microsoft Support
To help keep your emails organized, you can create subfolders or personal folders by using the New Folder tool. Click Folder > New...
Read more >
How do I create sub-folders (nested folders) in Thunderbird?
Subfolders (nested folders) allow you to organize your mailboxes in multiple levels of folders. This can be helpful in sorting and managing large...
Read more >
Moving Local Directory All Folder and SubFolders with files to ...
Inside Folder I have another two subfolder name as Cruz0 and Cruz1. Cruz1 a(some format like txt,png) b(some format like txt,png) c(some format ......
Read more >
How can I keep a local and remote folder (with subfolders ...
1 Answer 1 ... You need to add a rsync command as a cron. This will sync the changes automatically between the local...
Read more >
Folders and subfolders - Nimbus Platform
There are several ways to create a subfolder: Move your mouse over the local folder / subfolder and click on +. Enter the...
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