You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vfn.filereadable(f) will retrun 0 if f is not readable.
However, in the if conditional statement, if use if 0 then, it will be considered true, which will cause a direct return and result in an inability to load the environment file.
The text was updated successfully, but these errors were encountered:
use command GoEnv load .env file. But it does not take effect.
I looked at the code and saw that there might be a problem with the line below
go.nvim/lua/go/env.lua
Line 10 in c6d5ca2
vfn.filereadable(f)
will retrun 0 iff
is not readable.However, in the if conditional statement, if use
if 0 then
, it will be considered true, which will cause a direct return and result in an inability to load the environment file.The text was updated successfully, but these errors were encountered: