Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upwarn_timeout setting is ignored #578
Open
Labels
Comments
|
The problem mentioned here was also confusing to me. From the followup comment I think my toml file is setup correctly, but maybe not? |
zimbatm
added a commit
to zimbatm/direnv
that referenced
this issue
Feb 5, 2020
TOML will look at the underlying representation and find the integer, then try to parse an integer instead of the time.Duration. Fixes direnv#578
|
Thanks for the report. That config parsing really needs more testing.
|
zimbatm
added a commit
to zimbatm/direnv
that referenced
this issue
Feb 5, 2020
TOML will look at the underlying representation and find the integer, then try to parse an integer instead of the time.Duration. Related direnv#578
zimbatm
added a commit
that referenced
this issue
Feb 5, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
This could just be a usage error on my part, but the documentation about
warn_timeoutis a bit confusing. In any case, I have installed direnv via asdf's direnv plugin. I have a$HOME/.config/direnvdirectory containingdirenvrcanddirenv.toml.My toml file contains one entry:
When I run
direnv status, direnv can see my config directory, but it's not picking up thewarn_timeoutsetting.To Reproduce
$HOME/.config/direnv/direnv.tomlwith awarn_timeout = "30s"entry.direnv status, noting that thewarn_timeoutvalue is not "30s"Expected behavior
direnv should be using the
warn_timeoutvalue I set.Environment
Additional context