Skip to content

Commit b59bb7d

Browse files
Format source code
1 parent 0e358c1 commit b59bb7d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/rest-nvim/utils/init.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,14 @@ end
4848
-- read_env_file Reads the environment variables found in the `.env` file and
4949
-- returns a table with the variables
5050
M.read_env_file = function()
51-
5251
local variables = {}
5352

5453
-- Directories to search for env files
5554
local env_file_paths = {
5655
-- current working directory
5756
vim.fn.getcwd() .. "/.env",
5857
-- directory of the currently opened file
59-
vim.fn.expand("%:p:h") .. "/.env"
58+
vim.fn.expand("%:p:h") .. "/.env",
6059
}
6160

6261
-- If there's an env file in the current working dir

0 commit comments

Comments
 (0)