Skip to content

Commit 0e2757e

Browse files
Update lib/bundlex/lsp/config.ex
Co-authored-by: Feliks Pobiedziński <38541925+FelonEkonom@users.noreply.github.com>
1 parent a5bb820 commit 0e2757e

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

lib/bundlex/lsp/config.ex

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,8 @@ defmodule Bundlex.LSP.Config do
1313
optional(:output) => String.t()
1414
}
1515

16-
# Generates LSP configuration files from a list of build commands.
17-
#
18-
# ## Returns
19-
#
20-
# `{:ok, [{:compile_commands_json, path} | {:compile_flags_txt, path}]}`
21-
# or `{:error, reason}` if all writes fail.
2216
@spec generate(commands :: [String.t()], project_dir :: String.t()) ::
23-
{:ok, [{atom, String.t()}]} | {:error, String.t()}
17+
{:ok, [{:compile_commands_json, Path.t())} | {:compile_flags_txt, Path.t()]} | {:error, String.t()}
2418
def generate(commands, project_dir) do
2519
project_dir = Path.expand(project_dir)
2620

0 commit comments

Comments
 (0)