Skip to content

Commit 6f45658

Browse files
authored
Vendor PathGlob (#632)
* Vendor PathGlob This is important in case someone uses PathGlob in their own project * fix link
1 parent befc60e commit 6f45658

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/language_server/lib/language_server/providers/formatting.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ defmodule ElixirLS.LanguageServer.Providers.Formatting do
5959

6060
Enum.any?(inputs, fn input_glob ->
6161
glob = Path.join(formatter_dir, input_glob)
62-
PathGlob.match?(file_path, glob, match_dot: true)
62+
PathGlobVendored.match?(file_path, glob, match_dot: true)
6363
end)
6464
end
6565

apps/language_server/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ defmodule ElixirLS.LanguageServer.Mixfile do
3232
{:dialyxir, "~> 1.0", runtime: false},
3333
{:jason_vendored, github: "elixir-lsp/jason", branch: "vendored"},
3434
{:stream_data, "~> 0.5", only: :test},
35-
{:path_glob, "~> 0.1.0"}
35+
{:path_glob_vendored, github: "elixir-lsp/path_glob", branch: "vendored"}
3636
]
3737
end
3838

0 commit comments

Comments
 (0)