Skip to content

Commit

Permalink
fix(env): accessing env-variables
Browse files Browse the repository at this point in the history
  • Loading branch information
gorillamoe committed Jul 11, 2024
1 parent 9d59626 commit 1c20926
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/_coverpage.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# kulala.nvim <small>1.6.1</small>
# kulala.nvim <small>1.6.2</small>

> A minimal 🤏 HTTP-client 🐼 interface 🖥️ for Neovim ❤️.
Expand Down
2 changes: 1 addition & 1 deletion lua/kulala/globals/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ local FS = require("kulala.utils.fs")

local M = {}

M.VERSION = "1.6.1"
M.VERSION = "1.6.2"
M.UI_ID = "kulala://ui"
M.HEADERS_FILE = FS.get_plugin_tmp_dir() .. "/headers.txt"
M.BODY_FILE = FS.get_plugin_tmp_dir() .. "/body.txt"
Expand Down
2 changes: 0 additions & 2 deletions lua/kulala/parser/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ local function parse_string_variables(str, variables)
if variable_value then
value = variable_value
end
elseif variables[variable_name] then
value = variables[variable_name].value
elseif env[variable_name] then
value = env[variable_name]
else
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kulala.nvim",
"version": "1.6.1",
"version": "1.6.2",
"scripts": {
"docs": "docsify serve docs"
},
Expand Down

0 comments on commit 1c20926

Please sign in to comment.