fix: erlang_ls complains gateway hrl file can not be found

This commit is contained in:
JimMoen 2023-11-06 09:36:45 +08:00
parent a218ff6dd8
commit 17edeead6e
No known key found for this signature in database
GPG Key ID: 87A520B4F76BA86D
8 changed files with 8 additions and 8 deletions

View File

@ -23,7 +23,7 @@
-behaviour(gen_server).
-include("include/emqx_gateway.hrl").
-include("emqx_gateway.hrl").
-include_lib("emqx/include/logger.hrl").
-include_lib("snabbkaffe/include/snabbkaffe.hrl").

View File

@ -17,7 +17,7 @@
%% @doc The gateway connection registry
-module(emqx_gateway_cm_registry).
-include("include/emqx_gateway.hrl").
-include("emqx_gateway.hrl").
-behaviour(gen_server).

View File

@ -17,7 +17,7 @@
%% @doc The gateway instance context
-module(emqx_gateway_ctx).
-include("include/emqx_gateway.hrl").
-include("emqx_gateway.hrl").
%% @doc The running context for a Connection/Channel process.
%%

View File

@ -23,7 +23,7 @@
-behaviour(supervisor).
-include("include/emqx_gateway.hrl").
-include("emqx_gateway.hrl").
-export([start_link/1]).

View File

@ -17,7 +17,7 @@
%% @doc Gateway Interface Module for HTTP-APIs
-module(emqx_gateway_http).
-include("include/emqx_gateway.hrl").
-include("emqx_gateway.hrl").
-include_lib("emqx/include/logger.hrl").
-include_lib("emqx_auth/include/emqx_authn_chains.hrl").

View File

@ -19,7 +19,7 @@
-behaviour(gen_server).
-include("include/emqx_gateway.hrl").
-include("emqx_gateway.hrl").
-include_lib("emqx/include/logger.hrl").
%% APIs

View File

@ -17,7 +17,7 @@
%% @doc The Registry Centre of Gateway
-module(emqx_gateway_registry).
-include("include/emqx_gateway.hrl").
-include("emqx_gateway.hrl").
-behaviour(gen_server).

View File

@ -18,7 +18,7 @@
-behaviour(supervisor).
-include("include/emqx_gateway.hrl").
-include("emqx_gateway.hrl").
-export([start_link/0]).