@codacy/tools-sqlint-0 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -146,7 +146,7 @@ var adapter = {
146
146
  return {
147
147
  available: false,
148
148
  reason: "Ruby runtime not found (required for SQLint)",
149
- installHint: "Install Ruby 2.7+, or run with --install-dependencies for auto-download",
149
+ installHint: (0, import_tooling.rubyInstallHint)(),
150
150
  dependencies
151
151
  };
152
152
  }
@@ -211,7 +211,7 @@ var adapter = {
211
211
  toolId: TOOL_ID,
212
212
  phase: "requirementCheck",
213
213
  kind: "MissingPrerequisite",
214
- message: `Ruby (${RUBY_VERSION_RANGE}) could not be found or downloaded. SQLint requires a Ruby runtime.`,
214
+ message: (0, import_tooling.rubyUnavailableMessage)("SQLint", RUBY_VERSION_RANGE),
215
215
  level: "error"
216
216
  }
217
217
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/tools-sqlint-0",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "SQLint adapter — CLI-mode SQL syntax checker",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8,7 +8,7 @@
8
8
  "dist"
9
9
  ],
10
10
  "dependencies": {
11
- "@codacy/tooling": "0.14.0"
11
+ "@codacy/tooling": "0.15.0"
12
12
  },
13
13
  "license": "MIT",
14
14
  "author": "Codacy <support@codacy.com> (https://www.codacy.com)",