Skip to content

Commit

Permalink
fix #4: account for paths with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
theniceboy committed Jul 24, 2023
1 parent 2993aca commit e0006ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/joshuto.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ local function joshuto(path)
-- end

os.remove(output_path)
local cmd = string.format('joshuto --file-chooser --output-file %s %s', output_path, path)
local cmd = string.format('joshuto --file-chooser --output-file "%s" "%s"', output_path, path)

exec_joshuto_command(cmd)
end
Expand Down

0 comments on commit e0006ec

Please sign in to comment.