Skip to content

Commit

Permalink
format absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
airtonix committed Dec 27, 2022
1 parent 310f8cd commit c526f25
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lua/telescope-fzf-native/download_library.lua
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,13 @@ local download = function(options)
--
-- Ensure the Build directory exists
--
spawn({ 'sh', '-c', '"mkdir ./build"' })
-- using format, becase we need to run the command in a subshell on windows.
--
spawn({
'sh',
'-c',
string.format("' mkdir %s'", path_join({ plugin_path, 'build' }))
})

--
-- Curl the download
Expand Down

0 comments on commit c526f25

Please sign in to comment.