lightninglabs / lightninglabs/lndmon
Expand ~ when used in `.env` file
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 160
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
Without this change, users can run into the mysterious error:
```
lndmon_1 | read /root/.lnd/tls.cert: is a directory
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the entry point that reads the `.env` file and trace how a `~` path is handled. Reproduce the `/root/.lnd/tls.cert: is a directory` failure with a home-relative value, then verify that the same `.env` value resolves to the intended path without breaking other values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100