Skip to content

Commit 3dee5d6

Browse files
fix(cfn_lint): Fix cfn-lint arg for stdin (#292)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent a5954f0 commit 3dee5d6

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

doc/CONTRIBUTING.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
## General
44

55
- Before committing, please go through the following steps:
6-
76
1. Lint Lua files with [selene](https://github.com/Kampfkarren/selene)
87
2. Format Lua files with [StyLua](https://github.com/JohnnyMorganz/StyLua)
98
3. If you've updated documentation, format Markdown files with
@@ -116,7 +115,6 @@ local diagnostic = {
116115
- If your source can produce project-level diagnostics (i.e. diagnostics for
117116
more than one file at a time), use the `multiple_files` option described in
118117
[HELPERS](./HELPERS.md).
119-
120118
- Specify that your source supports project diagnostics in its documentation.
121119

122120
- Make sure each multi-file diagnostic includes either a `filename` or a

lua/null-ls/builtins/diagnostics/cfn_lint.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ return h.make_builtin({
2222
filetypes = { "yaml", "json" },
2323
generator_opts = {
2424
command = "cfn-lint",
25-
args = { "--format", "parseable", "-" },
25+
args = { "--format", "parseable" },
2626
to_stdin = true,
2727
from_stderr = true,
2828
format = "line",

0 commit comments

Comments
 (0)