Skip to content

Commit

Permalink
fix loading promql languages
Browse files Browse the repository at this point in the history
  • Loading branch information
Nexucis committed Apr 13, 2020
1 parent 953aee9 commit ba12952
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/promql/promql.contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,5 @@ export const promLanguageDefinition = {
extensions: [ '.promql' ],
aliases: [ 'Prometheus', 'prometheus', 'prom', 'Prom', 'promql', 'Promql', 'promQL', 'PromQL' ],
mimetypes: [],
loader: (): void => {
import('./promql')
}
loader: () => import('./promql') // eslint-disable-line @typescript-eslint/explicit-function-return-type
};

0 comments on commit ba12952

Please sign in to comment.