Skip to content

Commit

Permalink
keychain: handle spaces (#317)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Jones <[email protected]>
  • Loading branch information
wfaulk and cmsj authored Aug 7, 2024
1 parent 95e6382 commit 9d35aa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Keychain.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function obj:getItem(options)

for key, value in pairs(keyTocmd) do
if options[key] ~= nil then
cmd = cmd .. " " .. value .. " " .. options[key]
cmd = cmd .. " " .. value .. " '" .. options[key] .. "'"
end
end

Expand Down Expand Up @@ -156,7 +156,7 @@ function obj:addItem(options)

for key, value in pairs(keyTocmd) do
if options[key] ~= nil then
cmd = cmd .. " " .. value .. " " .. options[key]
cmd = cmd .. " " .. value .. " '" .. options[key] .. "'"
end
end

Expand Down

0 comments on commit 9d35aa1

Please sign in to comment.