Skip to content

Commit

Permalink
v3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertOstermann committed Sep 18, 2024
1 parent b747a97 commit 963aa6e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the "sqlfluff" extension will be documented in this file.

## [3.2.1] - 2024-09-18

- Silence notification when file/path is in `.sqlfluffignore`. [Issue](https://github.com/sqlfluff/vscode-sqlfluff/issues/155)

## [3.2.0] - 2024-08-20

- Update to rule permalinks. Thanks to alanmcruickshank's [Pull Request](https://github.com/sqlfluff/vscode-sqlfluff/pull/152)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vscode-sqlfluff",
"displayName": "sqlfluff",
"version": "3.2.0",
"version": "3.2.1",
"description": "A linter and auto-formatter for SQLfluff, a popular linting tool for SQL and dbt.",
"publisher": "dorzey",
"icon": "images/icon.png",
Expand Down
5 changes: 4 additions & 1 deletion src/features/providers/sqlfluff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,10 @@ export default class SQLFluff {

if (stderrLines?.length > 0 && !Configuration.suppressNotifications()) {
const stderrString = stderrLines.join("\n");
if (!stderrString.includes("ignored by a .sqlfluffignore pattern")) {
if (
!stderrString.includes("ignored by a .sqlfluffignore pattern") &&
!stderrString.includes("ignored by an ignore pattern set in .sqlfluffignore")
) {
vscode.window.showErrorMessage(stderrString);
}
}
Expand Down

0 comments on commit 963aa6e

Please sign in to comment.